Пример #1
0
 /**
  * Add a childnode to this node.
  * @param string $name property name
  * @param BaseField $node content (must be of type BaseField)
  */
 public function addChildNode($name, $node)
 {
     $this->internalChildnodes[$name] = $node;
     $node->setParentNode($this);
 }