Showing 10 of 2,044 results.

Description | General Metadata

The description method queues a <meta name="description" content"..."> tag. By default it binds to the $meta_description variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned...

Keywords | General Metadata

The keywords method queues a <meta name="keywords" content="..."> tag. By default it binds to the $meta_keywords variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned variable. 6...

Canonical Link | General Metadata

The canonical method queues a <link rel="canonical" href="..."> meta tag. By default it binds to the $meta_canonical variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned...

First Link | General Metadata

The first method queues a <link rel="first" href="..."> tag. By default it binds to the $meta_link_first variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned variable. 6 Metadata...

Last Link | General Metadata

The last method queues a <link rel="last" href="..."> tag. By default it binds to the $meta_link_last variable. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 // Adjusting the returned variable. 6 Metadata ::...

getRootNodes | Blade Documents

Gets the root document nodes. Returns a NodeCollection instance containing all nodes that do not have a parent node. Invoking this method will trigger structural analysis. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public...

fromText | Blade Documents

Constructs a new Document instance from the provided document text. The Document instance returned from this method is created by invoking DocumentFactory::makeDocument() . Argument Description $document The template content. $filePath An optional...

removeNode | Blade Documents

Removes the provided node instance from the document. Calling this method will reindex the nodes, but will not trigger structural analysis. If structural analysis has already been performed on the document, calling this method may remove the start...

Laravel Application Helper Function: abort

…xception using only the user supplied $message . The following example assumes that some $user object exists with the property admin . The example will check to make sure that the admin property is true . If not, the code will abort with a 401...

getAllStructures | Document Structures

Returns all the document structures. This method automatically performs structural analysis on the document. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllStructures ( ) : Collection ; Example Use 1 <?php 2 3 use...