Showing 10 of 2,044 results.

allOfType | Workspaces

Finds all nodes of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function allOfType ( 6 string $ type 7 ) : NodeCollection ;

allNotOfType | Workspaces

Finds all nodes that are not of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function allNotOfType ( 6 string $ type 7 ) : NodeCollection ;

The "like" Filters

The like filters allow you to query comments using an SQL-like pattern.The like filter allows you to query a comment property and compare it with an SQL-like pattern. The following example queries checks the comment's content against the %panel%...

Templating

Because Statamic's search features do not emit any events, you will need to update your site's search results page in order to log searches. This can be done by inserting the {{ log_search /}} Antlers tag within your existing template: 1 {{ search...

Text Extraction

The document text extraction methods allow you to retrieve various information from the source template. For example, retrieving entire words at specific character offsets or their neighboring words is trivial.

Video Asset | Open Graph Metadata

The videoAsset method method accepts an Asset instance and generates the following meta tags based on the asset's information: 1 <meta name="video" property="og:video" content="..."> 2 <meta property="og:video:type" content="..."> 3 <meta...

Guide: User-Only Comment Setup

This guide contains the steps to configure Statamic and Meerkat to only accept comments from authenticated users. After completing this guide, your site will only accept comments from authenticated users, without requiring user names or emails to...

connection($name) | Laravel 5 Facades

The connection method will return a new schema builder ("Illuminate\Database\Schema\Builder") instance for the given connection. The $name is the name of the connection as it appears in the database configuration file.

Laravel String Helper Function: lower

The lower helper method takes a given value and returns a lower cased variant. The signature for the lower helper function is: lower($value) 1 use Illuminate \ Support \ Str ; 2 3 // all lower cased 4 echo Str :: lower ( ' ALL LOWER CASED ' ) ;

Filter Search