Embedable
in
Tags
Table of Contents
Methods
- addItem() : mixed
- Include next element into current object.
- afterAdd() : mixed
- Method executed after adding object into new one.
- draw() : void
- Recursive draw object and its contents.
- finalize() : mixed
- Method executed before rendering.
- setEmbedName() : bool
- Notify component about its embed name.
Methods
addItem()
Include next element into current object.
public
addItem(Embedable|string $pageItem) : mixed
Parameters
- $pageItem : Embedable|string
-
value or EaseClass with draw() method
Return values
mixed —Pointer to included object
afterAdd()
Method executed after adding object into new one.
public
afterAdd() : mixed
draw()
Recursive draw object and its contents.
public
draw() : void
finalize()
Method executed before rendering.
public
finalize() : mixed
setEmbedName()
Notify component about its embed name.
public
setEmbedName(string $embedName) : bool
Parameters
- $embedName : string
-
parent::$pageParts[$embedName] == self
Return values
bool —success