Showing 10 of 2,044 results.

Laravel MessageBag Public API: any

The any method returns a boolean value indicating if the MessageBag instance actually has any messages. The method returns true if the instance has messages, otherwise it returns false . The following code examples demonstrate the usage of this...

The user:from_auth Filter | The Auth & User Filters

…s you to filter comments based on if they were left by an authenticated user. It accepts a boolean value, or the wildcard * value (to return comments regardless of if they were left by an authenticated user). The following example would return...

getWordLeftAtOffset | Text Extraction

Retrieves the word to the left of the provided offset, ignoring the word at the provided offset. Argument Description $offset The character offset. $chars A list of characters that won't break a word. 1 <?php 2 3 public function...

Method 1: Template Adjustments | Guide: User-Only Comment Setup

We need to let Meerkat know about the user who is submitting the comment. The simplest way to do this is by adding a hidden authenticated_user field to your Meerkat form template (extra functionality has been removed from the template for...

Additional Notification Methods | Laravel 5 Facades

The Notification facade defines a few extra methods that can be called without resolving the notification sub-system from the service container. Facades define extra methods to provide simpler access to underlying sub-systems, or to call functions...