Component implements ContentAreaInterface, DataSectionInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- Component constructor.
- getHtml() : string
- getSectionData() : array<string|int, mixed>
- getSectionName() : string
- setFunctionParameters() : $this
- setParameters() : $this
- setParentComponent() : $this
Methods
__construct()
Component constructor.
public
__construct(mixed $componentName[, string $componentTemplate = '' ][, array<string|int, mixed> $componentParams = [] ][, mixed $dataKeys = [] ]) : mixed
Parameters
- $componentName : mixed
- $componentTemplate : string = ''
- $componentParams : array<string|int, mixed> = []
- $dataKeys : mixed = []
getHtml()
public
getHtml() : string
Return values
stringgetSectionData()
public
getSectionData() : array<string|int, mixed>
Return values
array<string|int, mixed>getSectionName()
public
getSectionName() : string
Return values
stringsetFunctionParameters()
public
setFunctionParameters(array<string|int, mixed> $functionParams) : $this
Parameters
- $functionParams : array<string|int, mixed>
Return values
$thissetParameters()
public
setParameters(array<string|int, mixed> $params) : $this
Parameters
- $params : array<string|int, mixed>
Return values
$thissetParentComponent()
public
setParentComponent(mixed $parentComponent) : $this
Parameters
- $parentComponent : mixed