Showing 7 of 2,041 result(s)
config($key = null, $default = null) The config helper function is a versatile function. If the supplied $key and $default value are both null, such as in the following method call: the return value will be, by default, an instance of...
Template Resolver for Statamic is a simple utility addon, intended to be used by other addons. It provides a simple utility for selecting and rendering a template based on an entry's blueprint and collection , with support for a fallback default...
By default, class string emulation will not be applied to strings under a wide variety of situations. For example, if the string is contained with a condition statement, used in a comparison operation, or is the target of most assignments, the...
The field of programming and computer science is awash in technical terms with definitions for those terms that are only slightly different from each other. A good example of terms like this are procedure , function , method and the anonymous...
Search Report for Statamic stores search logs within a database, even if the rest of your site is using flat files. If you don't want to setup a large database server, you may also use SQLite. For more information on how to configure a database...
Additional favicon sizes can be managed within your site's site_essentials/favicons.php configuration file. All favicons must have the following properties: rel, : Added to the output link tag's, rel, attribute, format, : The image format to...
The whereNotIn method will return all of the items in a collection that do not have matching values (supplied via the $values parameter) for the provided $key . This method is capable of filtering collections of both arrays and objects. The...