public function totalItems()
    {
        $link = $this->_doc->navigation('self');
        return ($link && isset($link->totalitems)) ? $link->totalitems : 0;
    }
public function totalItems()
    {
        $link = $this->_doc->navigation('self');
        return ($link && isset($link->totalitems)) ? $link->totalitems : 0;
    }
public function totalItems ( ) { $ link = $ this -> _doc -> navigation ( 'self' ) ; return ( $ link && isset ( $ link -> totalitems ) ) ? $ link -> totalitems : 0 ; }
Total items in the parent doc

@return int the total
Total items in the parent doc