public function getComments($slideNo = '', $storageName = '', $folder = '')
    {
        //check whether file is set or not
        if ($slideNo == '')
            throw new Exception('Missing required parameter slideNo');

        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName() . '/slides/' . $slideNo . '/comments';
        if ($folder != '') {
            $strURI .= '?folder=' . $folder;
        }
        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }
        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

        $json = json_decode($responseStream);

        if ($json->Status == 'OK')
            return $json->SlideComments;
        else
            return false;
    }
public function getComments($slideNo = '', $storageName = '', $folder = '')
    {
        //check whether file is set or not
        if ($slideNo == '')
            throw new Exception('Missing required parameter slideNo');

        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName() . '/slides/' . $slideNo . '/comments';
        if ($folder != '') {
            $strURI .= '?folder=' . $folder;
        }
        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }
        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

        $json = json_decode($responseStream);

        if ($json->Status == 'OK')
            return $json->SlideComments;
        else
            return false;
    }
public function getComments ( $ slideNo = '' , $ storageName = '' , $ folder = '' ) { //check whether file is set or not if ( $ slideNo == '' ) throw new Exception ( 'Missing required parameter slideNo' ) ; $ strURI = Product :: $ baseProductUri . '/slides/' . $ this -> getFileName ( ) . '/slides/' . $ slideNo . '/comments' ; if ( $ folder != '' ) { $ strURI .= '?folder=' . $ folder ; } if ( $ storageName != '' ) { $ strURI .= '&storage=' . $ storageName ; } $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; if ( $ json -> Status == 'OK' ) return $ json -> SlideComments ; else return false ; }
Get comments from a slide.

@param integer $slideNo The number of slide.
@param string $storageName The presentation storage name.
@param string $folderName The presentation folder name.

@return object|boolean
@throws Exception
Get comments from a slide .