public function addTocEntry($depth, $title, $identifier)
    {
        if (!isset($this->_toc))
            $this->_toc = array();
        $this->_addTocSubEntry($depth, $depth, $title, $identifier, $this->_toc);
    }
public function addTocEntry($depth, $title, $identifier)
    {
        if (!isset($this->_toc))
            $this->_toc = array();
        $this->_addTocSubEntry($depth, $depth, $title, $identifier, $this->_toc);
    }
public function addTocEntry ( $ depth , $ title , $ identifier ) { if ( ! isset ( $ this -> _toc ) ) $ this -> _toc = array ( ) ; $ this -> _addTocSubEntry ( $ depth , $ depth , $ title , $ identifier , $ this -> _toc ) ; }
Add a TOC entry.
@param    int $depth Depth in the tree.
@param    string $title Name of the new entry.
@param    string $identifier Identifier of the new entry.
Add a TOC entry .