Search

Showing 7 of 2,041 result(s)

/blog/2016/11/20/laravel-helper-function-config

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/v1/installation-and-overview

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...

/blade-parser/v1/formatting-configuration#content-class-string-emulation-and-php-language-features

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...

/blog/2014/07/19/procedure-vs-function-vs-method-vs

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/v1/setup

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...

/site-essentials-for-statamic/v1/favicon-configuration#content-configuring-favicon-sizes

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...

/blog/2018/04/22/laravel-5-collections-filtering-a-collection-based-on-key-presence-with-wherenotin

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...