PHP 클래스 app\blocks\ConcreptImplementationBlock

상속: implements luya\cms\base\BlockInterface
파일 보기 프로젝트 열기: luyadev/luya

공개 메소드들

메소드 설명
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.

메소드 상세

blockGroup() 공개 메소드

Returns a class of the blocks group.
public blockGroup ( ) : luya\cms\base\BlockGroup
리턴 luya\cms\base\BlockGroup

config() 공개 메소드

Returns the configuration array.
public config ( ) : array
리턴 array

getCacheExpirationTime() 공개 메소드

The time of cache expiration

getConfigCfgsExport() 공개 메소드

Returns all config cfgs element of key value pairing to pass to the API and frontend.
public getConfigCfgsExport ( ) : array
리턴 array

getConfigPlaceholdersExport() 공개 메소드

Returns all config placeholders element of key value pairing to pass to the API and frontend.

getConfigVarsExport() 공개 메소드

Returns all config vars element of key value pairing to pass to the API and frontend.
public getConfigVarsExport ( ) : array
리턴 array

getExtraVarValues() 공개 메소드

Returns an array of key value pairing with additional informations to pass to the API and frontend.
public getExtraVarValues ( ) : array
리턴 array

getFieldHelp() 공개 메소드

Returns an array with additional help informations for specific field (var or cfg).
public getFieldHelp ( ) : array
리턴 array An array where the key is the cfg/var field var name and the value the helper text.

getIsCacheEnabled() 공개 메소드

Whether cache is enabled for this block or not.
public getIsCacheEnabled ( ) : boolean
리턴 boolean

getIsContainer() 공개 메소드

Whether is an container element or not.
public getIsContainer ( )

icon() 공개 메소드

Returns the icon based on material icon names
public icon ( ) : string
리턴 string

name() 공개 메소드

Get the name of the block in order to display in administration context.
public name ( )

renderAdmin() 공개 메소드

Get the output in administration context.
public renderAdmin ( ) : string
리턴 string

renderFrontend() 공개 메소드

Get the output in the frontend context.
public renderFrontend ( ) : string
리턴 string

setCfgValues() 공개 메소드

Set the values for element cfgs with an array key value binding.
public setCfgValues ( array $values )
$values array An array where key is the name of the cfg-element and value the content.

setEnvOption() 공개 메소드

Set an environment option informations to the block with key value pairing.
public setEnvOption ( string $key, mixed $value )
$key string The identifier key.
$value mixed The value for the key.

setPlaceholderValues() 공개 메소드

Set the value from placeholders where the array key is the name of value the content of the placeholder.
public setPlaceholderValues ( array $placeholders )
$placeholders array An array with placeholders where key is name and the value the content e.g. `['content' => 'The placheholder Content']`.

setVarValues() 공개 메소드

Set the values for element vars with an array key value binding.
public setVarValues ( array $values )
$values array An array where key is the name of the var-element and value the content.