OWeb/defaults/extensions/bbcode/JBBCode/ElementNode.php
public function removeChild(Node $child) {
        foreach( $this->children as $key => $value) {
            if( $value == $child)
                unset($this->children[$key]);
        }
    }
public function removeChild(Node $child) {
        foreach( $this->children as $key => $value) {
            if( $value == $child)
                unset($this->children[$key]);
        }
    }
public function removeChild ( Node $ child ) { foreach ( $ this -> children as $ key => $ value ) { if ( $ value == $ child ) unset ( $ this -> children [ $ key ] ) ; } }
Removes a child from this node's contnet.

@param child the child node to remove
Removes a child from this node s contnet .