function DeleteChildren()
    {
        //Loop through all child tags
        for($x = 0; $x < count($this->tagChildren); $x ++)
        {
            //Do this recursively
            $this->tagChildren[$x]->DeleteChildren();
            
            //Delete the name and value
            $this->tagChildren[$x] = null;
            unset($this->tagChildren[$x]);
        }
    }
function DeleteChildren()
    {
        //Loop through all child tags
        for($x = 0; $x < count($this->tagChildren); $x ++)
        {
            //Do this recursively
            $this->tagChildren[$x]->DeleteChildren();
            
            //Delete the name and value
            $this->tagChildren[$x] = null;
            unset($this->tagChildren[$x]);
        }
    }
function DeleteChildren ( ) { //Loop through all child tags for ( $ x = 0 ; $ x < count ( $ this -> tagChildren ) ; $ x ++ ) { //Do this recursively $ this -> tagChildren [ $ x ] -> DeleteChildren ( ) ; //Delete the name and value $ this -> tagChildren [ $ x ] = null ; unset ( $ this -> tagChildren [ $ x ] ) ; } }
Removes all of the children of this tag in both name and value
Removes all of the children of this tag in both name and value