public function createFolder($strFolder, $storageName = '')
    {
        //build URI
        $strURIRequest = $this->strURIFolder . $strFolder;
        if ($storageName != '') {
            $strURIRequest .= '?storage=' . $storageName;
        }
        //sign URI
        $signedURI = Utils::sign($strURIRequest);

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

        if ($responseStream->Code != 200) {
            return FALSE;
        }
        return TRUE;
    }
public function createFolder($strFolder, $storageName = '')
    {
        //build URI
        $strURIRequest = $this->strURIFolder . $strFolder;
        if ($storageName != '') {
            $strURIRequest .= '?storage=' . $storageName;
        }
        //sign URI
        $signedURI = Utils::sign($strURIRequest);

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

        if ($responseStream->Code != 200) {
            return FALSE;
        }
        return TRUE;
    }
public function createFolder ( $ strFolder , $ storageName = '' ) { //build URI $ strURIRequest = $ this -> strURIFolder . $ strFolder ; if ( $ storageName != '' ) { $ strURIRequest .= '?storage=' . $ storageName ; } //sign URI $ signedURI = Utils :: sign ( $ strURIRequest ) ; $ responseStream = json_decode ( Utils :: processCommand ( $ signedURI , 'PUT' , '' , '' ) ) ; if ( $ responseStream -> Code != 200 ) { return FALSE ; } return TRUE ; }
Creates a new folder  under the specified folder on Aspose storage.
If no path specified, creates a folder under the root folder.

@param string $strFolder The name of folder.
@param string $storageName The name of storage.

@return boolean
Creates a new folder under the specified folder on Aspose storage . If no path specified creates a folder under the root folder .