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 ;
Showing 10 of 2,044 results.
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 ;
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 ;
…irector does not provide a direct way to add additional information when generated the final URL, except for the $secure parameter. Luckily, the Redirect uses the Illuminate\Routing\UrlGenerator when generating URLs. Specifically, it calls the to...
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%...
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...
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.
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...
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...
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.
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 ' ) ;