public function isChildBookmark($bookmarkIndex)
    {

        if ($bookmarkIndex === '')
            throw new Exception('bookmark index not specified');
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/bookmarks/' . $bookmarkIndex;
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return $json->Bookmark;
    }
public function isChildBookmark($bookmarkIndex)
    {

        if ($bookmarkIndex === '')
            throw new Exception('bookmark index not specified');
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/bookmarks/' . $bookmarkIndex;
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return $json->Bookmark;
    }
public function isChildBookmark ( $ bookmarkIndex ) { if ( $ bookmarkIndex === '' ) throw new Exception ( 'bookmark index not specified' ) ; $ strURI = Product :: $ baseProductUri . '/pdf/' . $ this -> getFileName ( ) . '/bookmarks/' . $ bookmarkIndex ; $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; return $ json -> Bookmark ; }
Checks whether selected bookmark is parent or child Gets a specfied child
Bookmark for selected parent bookmark in Pdf document.

@param integer $bookmarkIndex Index of the bookmark.

@return object
@throws Exception
Checks whether selected bookmark is parent or child Gets a specfied child Bookmark for selected parent bookmark in Pdf document .