public function getAttachmentsCount()
    {
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/attachments';
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return count($json->Attachments->List);
    }
public function getAttachmentsCount()
    {
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/attachments';
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return count($json->Attachments->List);
    }
public function getAttachmentsCount ( ) { $ strURI = Product :: $ baseProductUri . '/pdf/' . $ this -> getFileName ( ) . '/attachments' ; $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; return count ( $ json -> Attachments -> List ) ; }
Gets number of attachments in the Pdf document.

@return integer
@throws Exception
Gets number of attachments in the Pdf document .