Method |
Description |
|
blockGroup ( ) : luya\cms\base\BlockGroup |
Returns a class of the blocks group. |
|
config ( ) : array |
Returns the configuration array. |
|
getCacheExpirationTime ( ) |
The time of cache expiration |
|
getConfigCfgsExport ( ) : array |
Returns all config cfgs element of key value pairing to pass to the API and frontend. |
|
getConfigPlaceholdersExport ( ) : array |
Returns all config placeholders element of key value pairing to pass to the API and frontend. |
|
getConfigVarsExport ( ) : array |
Returns all config vars element of key value pairing to pass to the API and frontend. |
|
getExtraVarValues ( ) : array |
Returns an array of key value pairing with additional informations to pass to the API and frontend. |
|
getFieldHelp ( ) : array |
Returns an array with additional help informations for specific field (var or cfg). |
|
getIsCacheEnabled ( ) : boolean |
Whether cache is enabled for this block or not. |
|
getIsContainer ( ) |
Whether is an container element or not. |
|
icon ( ) : string |
Returns the icon based on material icon names |
|
name ( ) |
Get the name of the block in order to display in administration context. |
|
renderAdmin ( ) : string |
Get the output in administration context. |
|
renderFrontend ( ) : string |
Get the output in the frontend context. |
|
setCfgValues ( array $values ) |
Set the values for element cfgs with an array key value binding. |
|
setEnvOption ( string $key, mixed $value ) |
Set an environment option informations to the block with key value pairing. |
|
setPlaceholderValues ( array $placeholders ) |
Set the value from placeholders where the array key is the name of value the content of the placeholder. |
|
setVarValues ( array $values ) |
Set the values for element vars with an array key value binding. |
|