public function getShapes($slidenumber, $storageName = '', $folder = '')
    {


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

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

        $json = json_decode($responseStream);

        $shapes = array();

        foreach ($json->ShapeList->ShapesLinks as $shape) {

            $signedURI = Utils::sign($shape->Uri->Href);

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

            $json = json_decode($responseStream);

            $shapes[] = $json;
        }

        return $shapes;
    }
public function getShapes($slidenumber, $storageName = '', $folder = '')
    {


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

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

        $json = json_decode($responseStream);

        $shapes = array();

        foreach ($json->ShapeList->ShapesLinks as $shape) {

            $signedURI = Utils::sign($shape->Uri->Href);

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

            $json = json_decode($responseStream);

            $shapes[] = $json;
        }

        return $shapes;
    }
public function getShapes ( $ slidenumber , $ storageName = '' , $ folder = '' ) { $ strURI = Product :: $ baseProductUri . '/slides/' . $ this -> getFileName ( ) . '/slides/' . $ slidenumber . '/shapes' ; if ( $ folder != '' ) { $ strURI .= '?folder=' . $ folder ; } if ( $ storageName != '' ) { $ strURI .= '&storage=' . $ storageName ; } $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; $ shapes = array ( ) ; foreach ( $ json -> ShapeList -> ShapesLinks as $ shape ) { $ signedURI = Utils :: sign ( $ shape -> Uri -> Href ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; $ shapes [ ] = $ json ; } return $ shapes ; }
Gets all shapes from the specified slide.

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

@return array
@throws Exception
Gets all shapes from the specified slide .