XML_Tree::&insertChild

XML_Tree::&insertChild -- inserts a child/tree

Synopsis

require_once "XML/Tree.php";

object XML_Tree_Node XML_Tree::&insertChild (array $path, integer $pos, mixed $child [, string $content='' [, array $attributes=array()]])

Описание

Inserts a child or tree into the tree in the path $path on position $pos and maintains namespace integrity

Параметр

Возвращаемое значение

object XML_Tree_Node - inserted child (node)

Заметка

Эта функция не должна вызываться статически.

См. также

XML_Tree::removeChild()