BlockPickerTrait
Administration Handler extension for FormPicker
Tags
Table of Contents
Properties
- $param : string
- $blockId : int
- $blockModule : BlockHandler|null
- $modConverter : array<int, array<string, string>>
Methods
- compile() : void
- getBlockList() : array<int, string>
- Returns list of modules
- getBlockModule() : BlockHandler|null
- Get Handler of selected module
- actionGetBlock() : void
- parseUrl() : void
- Parse current block identification
Properties
$param
public
static string
$param
= 'get-block'
$blockId
protected
int
$blockId
$blockModule
protected
BlockHandler|null
$blockModule
$modConverter
protected
array<int, array<string, string>>
$modConverter
= []
Methods
compile()
public
compile() : void
getBlockList()
Returns list of modules
public
getBlockList() : array<int, string>
Return values
array<int, string>getBlockModule()
Get Handler of selected module
public
getBlockModule(int $blockId) : BlockHandler|null
Parameters
- $blockId : int
Return values
BlockHandler|nullactionGetBlock()
protected
actionGetBlock() : void
parseUrl()
Parse current block identification
protected
parseUrl(array<string|int, string> $param) : void
Parameters
- $param : array<string|int, string>