class StaticViewFunction extends BaseFunction

Allows the view to directly disable static view cache.

Note this disables the static cache for the ENTIRE view, not just the partial or included template, but the entire output.

Methods

__construct()

No description

getFunctionOptions()

Return function options Allows the function to automatically escape HTML strings

getDI()

No description

static string
getCacheControlTag()

Static function as it's called elsewhere.

getFunctionName()

No description

string
handle($opts)

Modify the cache output, mostly just disable it

Details

in BaseFunction at line 9
__construct()

at line 46
getFunctionOptions()

Return function options Allows the function to automatically escape HTML strings

in BaseFunction at line 23
getDI()

at line 16
static string getCacheControlTag()

Static function as it's called elsewhere.

..

Return Value

string

at line 21
getFunctionName()

at line 36
string handle($opts)

Modify the cache output, mostly just disable it

{{ cacheManager({'disable': true}) }}

Parameters

$opts

Return Value

string Cache control tag