StaticViewFunction
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
getFunctionOptions()
Return function options Allows the function to automatically escape HTML strings
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.
..
at line 21
getFunctionName()
at line 36
string
handle($opts)
Modify the cache output, mostly just disable it
{{ cacheManager({'disable': true}) }}