PHP Class app\blocks\LinkInjectorTestBlock

Inheritance: extends luya\cms\base\PhpBlock
Show file Open project: luyadev/luya

Public Properties

Property Type Description
$cacheEnabled Choose whether a block can be cached trough the caching component. Be carefull with caching container blocks.
$cacheExpiration The cache lifetime for this block in seconds (3600 = 1 hour), only affects when cacheEnabled is true
$isContainer Choose whether block is a layout/container/segmnet/section block or not, Container elements will be optically displayed in a different way for a better user experience. Container block will not display isDirty colorizing.

Public Methods

Method Description
admin ( ) Available twig variables:
config ( )
icon ( )
injectors ( )
name ( )

Method Details

admin() public method

Available twig variables:
public admin ( )

config() public method

public config ( )

icon() public method

public icon ( )

injectors() public method

public injectors ( )

name() public method

public name ( )

Property Details

$cacheEnabled public property

Choose whether a block can be cached trough the caching component. Be carefull with caching container blocks.
public $cacheEnabled

$cacheExpiration public property

The cache lifetime for this block in seconds (3600 = 1 hour), only affects when cacheEnabled is true
public $cacheExpiration

$isContainer public property

Choose whether block is a layout/container/segmnet/section block or not, Container elements will be optically displayed in a different way for a better user experience. Container block will not display isDirty colorizing.
public $isContainer