OWeb/defaults/extensions/bbcode/JBBCode/ElementNode.php
public function addChild(Node $child) {
        array_push($this->children, $child);
        $child->setParent( $this );
    }
public function addChild(Node $child) {
        array_push($this->children, $child);
        $child->setParent( $this );
    }
public function addChild ( Node $ child ) { array_push ( $ this -> children , $ child ) ; $ child -> setParent ( $ this ) ; }
Adds a child to this node's content. A child may be a TextNode, or another ElementNode... or anything else
that may extend the abstract Node class.

@param child the node to add as a child
Adds a child to this node s content . A child may be a TextNode or another ElementNode ... or anything else that may extend the abstract Node class .