Showing 10 of 2,044 results.

Documentation Search

…ddon to index, manage, and search your documentation site's entries. Documentation Search provides a custom Statamic search provider, focused at making it easier to index documentation-heavy websites where each entry may have multiple sections...

Laravel Array Helper Function: array_forget

forget(&$array, $keys) The forget helper method removes items from the given $array . The specified keys are express in dot notation.This function affects the original $array . Assuming an array is defined as follows: 1 <?php 2 3 use Illuminate \...

The user:in Filter | The Auth & User Filters

The user:in filter allows you to filter comments based on if the authenticated user identifier is present in the provided list of user identifiers. The following example would return only those comments left by an authenticated Statamic user who's...

The not:user:in Filter | The Auth & User Filters

The not:user:in filter is the logical opposite of the user:in filter, and allows you to filter comments based on if the authenticated user does not appear in the provided list of user identifiers. The following example would return only those...

Core Concepts

The heart of the Blade Parser library is its Document Parser. This parser is responsible for reading through a Blade template and extracting information from it. It accomplishes this by looking for Blade constructs, such as directives, comments,...

getLoader() | The Laravel Translator

The getLoader method is used to return the instance of the Illuminate\Translation\LoaderInterface implementation the translator is currently using. By default, this will be an instance of Illuminate\Translation\FileLoader , which is registered...