package | Zend_Service_Rackspace |
---|
__construct(\Zend_Service_Rackspace_Files $service, array $data)
You must pass the Zend_Service_Rackspace_Files object of the caller and an associative array with the keys "name", "container", "hash", "bytes", "content_type", "last_modified", "file" where: name= name of the object container= name of the container where the object is stored hash= the MD5 of the object's content bytes= size in bytes of the object's content content_type= content type of the object's content last_modified= date of the last modified of the object content= content of the object
\Zend_Service_Rackspace_Files
array
\Zend_Service_Rackspace_Files_Exception |
---|
copyTo(string $container_dest, string $name_dest, array $metadata= array()
, string $content_type= null
) : boolean
string
string
array
string
boolean
getCdnUrl() : string
string
getCdnUrlSsl() : string
string
getContainer() : string
string
getContent() : string
string
getContentType() : string
string
getHash() : string | boolean
string
boolean
getLastModified() : string
string
getMetadata(string $key = null
) : string | array | boolean
string
string
array
boolean
getName() : string
string
getSize() : integer | boolean
integer
boolean
setMetadata(array $metadata) : boolean
array
boolean
$container : string
$content : string
$contentType : string
$hash : string
$lastModified : string
$name : string
$service : \Zend_Service_Rackspace_Files
$size : integer