public function getAllBookmarks()
    {

        $iTotalBookmarks = $this->GetBookmarksCount();
        $listBookmarks = array();
        for ($index = 1; $index <= $iTotalBookmarks; $index++) {
            array_push($listBookmarks, $this->GetBookmark($index));
        }
        return $listBookmarks;
    }
public function getAllBookmarks()
    {

        $iTotalBookmarks = $this->GetBookmarksCount();
        $listBookmarks = array();
        for ($index = 1; $index <= $iTotalBookmarks; $index++) {
            array_push($listBookmarks, $this->GetBookmark($index));
        }
        return $listBookmarks;
    }
public function getAllBookmarks ( ) { $ iTotalBookmarks = $ this -> GetBookmarksCount ( ) ; $ listBookmarks = array ( ) ; for ( $ index = 1 ; $ index <= $ iTotalBookmarks ; $ index ++ ) { array_push ( $ listBookmarks , $ this -> GetBookmark ( $ index ) ) ; } return $ listBookmarks ; }
Gets list of all the Bookmarks in a Pdf document.

@return array
@throws Exception
Gets list of all the Bookmarks in a Pdf document .