Contact Us for Questions | Licensing
If you have any questions about these Terms, you may contact us the following ways: Stillat, LLC PO Box 313 31 1st Ave NE Mayville, ND 58257-9998 hello@stillat.com
Showing 10 of 2,145 results.
If you have any questions about these Terms, you may contact us the following ways: Stillat, LLC PO Box 313 31 1st Ave NE Mayville, ND 58257-9998 hello@stillat.com
Returns all the document's root conditions. This method automatically performs structural analysis. Only structures that appear at the root of the document, without any parent node, will be returned. 1 <?php 2 3 use Illuminate \ Support \...
The {{ meerkat:responses }} tag is your window into the comment data stored for each of your site's pages. This tag and data structure has a lot in common with Statamic's collection tag, but they should not be used interchangeably when displaying...
Recently I've been working on a rather large rebuild to my personal, Statamic-powered blog. As part of that rebuild I migrated my build processes to Vite, but ran into an issue where I needed the filenames for my CSS, JavaScript, and assets to...
We are going to paginate a list of users. We want to display users with the URL format: http://localhost:8000/users/page/{page} . We are going to use a function called getShowResults in our UsersController . We can express this in our routes.php...
The config:clear command is used to remove the configuration cache file created by the config:cache command. By default this command will delete the bootstrap/cache/config.php file. The following example shows how to call the config:clear command:...
…class has a macro with the name $macro defined. It returns true if the $macro is found, otherwise it returns false . __call($method, $parameters) The Macroable trait implements PHP's magic __call method to intercept calls to methods when in...
The isEmpty can be used to determine if the collection has items or not. If the collection has no items, true will be returned, otherwise false will be returned. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 // Create a new collection...
The following example demonstrates the usage of the average method: 1 // Results in 12.5 2 collect ( [ 5 , 10 , 15 , 20 ] ) -> avg ( ) ; 3 4 // Results in 12.5 5 collect ( [ 5 , 10 , 15 , 20 ] ) -> average ( ) ;
…nt tags, each designed to help simplify some aspect of site development. Some tags are a bit obscure, but some are generally applicable to many types of projects. se_capture Tag, The se_capture tag can be used to store the results of a template...