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.
public static get_components_from_node ( DomNode $node ) : array | ||
$node | DomNode | |
리턴 | array |
/** * Get a component from a node. * * @param DomNode $node * @return Component * @access private */ private function get_components_from_node($node) { return Component_Factory::get_components_from_node($node); }