function stack() {
    if (!isset($this->stack[$this->parser->tagName])) {
      $this->stack[$this->parser->tagName] = array();
    }
    array_push($this->stack[$this->parser->tagName], $this->parser->tagAttributes);
  }
function stack() {
    if (!isset($this->stack[$this->parser->tagName])) {
      $this->stack[$this->parser->tagName] = array();
    }
    array_push($this->stack[$this->parser->tagName], $this->parser->tagAttributes);
  }
function stack ( ) { if ( ! isset ( $ this -> stack [ $ this -> parser -> tagName ] ) ) { $ this -> stack [ $ this -> parser -> tagName ] = array ( ) ; } array_push ( $ this -> stack [ $ this -> parser -> tagName ] , $ this -> parser -> tagAttributes ) ; }
add current node to the stack
this only stores the attributes

@param void
@return void
add current node to the stack this only stores the attributes