Showing 10 of 2,044 results.

Laravel Security Helper Function: e for HTML Entities

The e function is a simple wrapper of PHP's htmlentities function. The e function utilizes the UTF-8 character encoding. The e function will sanitize user input when displaying it to the browser. The signature for the e helper function is:...

Specifying the Blueprint(s) | Template IDE Hints

You may specify which blueprint(s) apply to any template file by using the @blueprint directive: 1 {{# 2 @name The template name. 3 @desc A human-friendly description for your awesome template. 4 @blueprint blueprintName 5 #}} 6 7 The rest of your...

Specifying Bard or Replicator Sets | Template IDE Hints

If you are dynamically loading a partial based on a set type (such as when creating templates for a Bard or Replicator field), you can specify which set within the corresponding blueprint applies to a file by using the special @set directive: 1...

Default Variables

Meerkat provides a wide range of default values you can use to build your comment threads in addition to any custom values specified in your blueprint . In addition to the default variables and blueprint values, Meerkat addons can also provide...

Querying Document Nodes

Many methods are available to help quickly locate specific Blade constructs within a document. The following demonstrates how we can quickly retrieve the inner content of all echo statements within a document: 1 <?php 2 3 use Stillat \ BladeParser...

X-UA-Compatible | General Metadata

The xUaCompatible helper method queues a <meta http-equiv="X-UA-Compatible" content="..."> tag. By default it uses IE=edge as the content. 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \ Support \ Facades \ Metadata ; 4 5 Metadata :: general (...