Showing 10 of 1,322 results.

Resolving Variables

Site Essentials for Statamic attempts to locate data from various locations within your template's context, depending on the precise tag being built. Almost all builder methods can have their values customized. The simplest way to customize the...

validate | Validating Documents

…te ( ) : Document ; Example Use 1 <?php 2 3 use Stillat \ BladeParser \ Document \ Document ; 4 use Stillat \ BladeParser \ Validation \ Validators \ InconsistentIndentationLevelValidator ; 5 6 $ template = <<< ' BLADE ' 7 @if ( $ something ) 8 9...

releaseNodesFromDocument | Blade Documents

…m all attached nodes. Calling this method will remove the document instance from all nodes that currently belong to this document. This can be useful if you simply want lightweight instances and do not necessarily care about the document...

toString | Blade Documents

Returns a string representation of the document. This method will traverse every node in the document and call its corresponding toString() method. Any modifications made to the document's node will be represented in the results of this method...

Index Configuration

Configuring a search index using Documentation Search is largely the same as configuring a regular Statamic search index . The only things to consider when configuring additional search indexes utilizing Documentation Search's search provider is...