public function getSlideCount($storageName = '', $folder = '')
    {


        //Build URI to get a list of slides
        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName() . '/slides';
        if ($folder != '') {
            $strURI .= '?folder=' . $folder;
        }

        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }
        $signedURI = Utils::sign($strURI);

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

        $json = json_decode($responseStream);

        return count($json->Slides->SlideList);
    }
public function getSlideCount($storageName = '', $folder = '')
    {


        //Build URI to get a list of slides
        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName() . '/slides';
        if ($folder != '') {
            $strURI .= '?folder=' . $folder;
        }

        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }
        $signedURI = Utils::sign($strURI);

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

        $json = json_decode($responseStream);

        return count($json->Slides->SlideList);
    }
public function getSlideCount ( $ storageName = '' , $ folder = '' ) { //Build URI to get a list of slides $ strURI = Product :: $ baseProductUri . '/slides/' . $ this -> getFileName ( ) . '/slides' ; if ( $ folder != '' ) { $ strURI .= '?folder=' . $ folder ; } if ( $ storageName != '' ) { $ strURI .= '&storage=' . $ storageName ; } $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; return count ( $ json -> Slides -> SlideList ) ; }
Finds the slide count of the specified PowerPoint document.

@param string $storageName The presentation storage name.
@param string $folder The presenation folder name.

@return integer
@throws Exception
Finds the slide count of the specified PowerPoint document .