EmbedDisableFunction
extends BaseFunction
in package
Allows the view to directly disable embed middleware.
Note this disables the embed middleware for the ENTIRE view, not just the partial or included template, but the entire output.
Table of Contents
- __construct() : mixed
- getDI() : mixed
- getEmbedControlTag() : string
- Static function as it's called elsewhere.
- getFunctionName() : mixed
- getFunctionOptions() : array<string|int, mixed>
- Return function options Allows the function to automatically escape HTML strings
- handle() : string
- Modify the cache output, mostly just disable it
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getDI()
public
getDI() : mixed
Return values
mixed —getEmbedControlTag()
Static function as it's called elsewhere.
public
static getEmbedControlTag() : string
..
Return values
string —getFunctionName()
public
getFunctionName() : mixed
Return values
mixed —getFunctionOptions()
Return function options Allows the function to automatically escape HTML strings
public
getFunctionOptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —handle()
Modify the cache output, mostly just disable it
public
handle(mixed $opts) : string
{{ cacheManager({'disable': true}) }}
Parameters
- $opts : mixed
Tags
Return values
string —Cache control tag