Method | Description | |
---|---|---|
get_component ( string $shortname, string $html ) : Component | Get a component. | |
get_components_from_node ( DomNode $node ) : array | Given a node, returns an array of all the components inside that node. If the node is a component itself, returns an array of only one element. | |
initialize ( |
Initialize the component factory. |
Method | Description | |
---|---|---|
register_component ( string $shortname, string $classname ) | Register a component. |
public static get_component ( string $shortname, string $html ) : Component | ||
$shortname | string | |
$html | string | |
return | Component |
public static get_components_from_node ( DomNode $node ) : array | ||
$node | DomNode | |
return | array |
public static initialize ( |
||
$workspace | ||
$settings | ||
$styles | Component_Text_Styles | |
$layouts | Component_Layouts |