public function getPlaceholder($slideNumber, $placeholderIndex, $storageName = '', $folder = '')
    {


        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName() . '/slides/' . $slideNumber . '/placeholders/' . $placeholderIndex;
        if ($folder != '') {
            $strURI .= '?folder=' . $folder;
        }
        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }
        //Build URI to get placeholders
        $signedURI = Utils::sign($strURI);

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

        $json = json_decode($responseStream);

        return $json->Placeholder;
    }
public function getPlaceholder($slideNumber, $placeholderIndex, $storageName = '', $folder = '')
    {


        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName() . '/slides/' . $slideNumber . '/placeholders/' . $placeholderIndex;
        if ($folder != '') {
            $strURI .= '?folder=' . $folder;
        }
        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }
        //Build URI to get placeholders
        $signedURI = Utils::sign($strURI);

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

        $json = json_decode($responseStream);

        return $json->Placeholder;
    }
public function getPlaceholder ( $ slideNumber , $ placeholderIndex , $ storageName = '' , $ folder = '' ) { $ strURI = Product :: $ baseProductUri . '/slides/' . $ this -> getFileName ( ) . '/slides/' . $ slideNumber . '/placeholders/' . $ placeholderIndex ; if ( $ folder != '' ) { $ strURI .= '?folder=' . $ folder ; } if ( $ storageName != '' ) { $ strURI .= '&storage=' . $ storageName ; } //Build URI to get placeholders $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; return $ json -> Placeholder ; }
Gets a placeholder from a particular slide.

@param integer $slideNumber The number of slide.
@param integer $placeholderIndex The index of placeholder.
@param string $storageName The presentation storage name.
@param string $folderName The presentation folder name.

@return object
@throws Exception
Gets a placeholder from a particular slide .