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

        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }

        $signedURI = Utils::sign($strURI);

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

        $json = json_decode($responseStream);

        if ($json->Code == 201)
            return $json->Document;
        else
            return false;
    }
public function createEmptyPresentation($storageName = '', $folder = '')
    {
        //Build URI to get a list of slides
        $strURI = Product::$baseProductUri . '/slides/' . $this->getFileName();
        if ($folder != '') {
            $strURI .= '?folder=' . $folder;
        }

        if ($storageName != '') {
            $strURI .= '&storage=' . $storageName;
        }

        $signedURI = Utils::sign($strURI);

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

        $json = json_decode($responseStream);

        if ($json->Code == 201)
            return $json->Document;
        else
            return false;
    }
public function createEmptyPresentation ( $ storageName = '' , $ folder = '' ) { //Build URI to get a list of slides $ strURI = Product :: $ baseProductUri . '/slides/' . $ this -> getFileName ( ) ; if ( $ folder != '' ) { $ strURI .= '?folder=' . $ folder ; } if ( $ storageName != '' ) { $ strURI .= '&storage=' . $ storageName ; } $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'PUT' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; if ( $ json -> Code == 201 ) return $ json -> Document ; else return false ; }
Create empty presenation and store it on Aspose cloud storage.

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

@return object|boolean
@throws Exception
Create empty presenation and store it on Aspose cloud storage .