Service/WindowsAzure/Storage/BlobInstance.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Subpackage
- Storage
- Version
- $Id: BlobInstance.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_WindowsAzure_Storage_BlobInstance
- Parent(s)
- \Zend_Service_WindowsAzure_Storage_StorageEntityAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


string $BlobType =
The blob type (block blob / page blob).
The blob type (block blob / page blob).- Type
- string
- Magic
- Property
- The blob type (block blob / page blob).


string $CacheControl =
The blob cache control header.
The blob cache control header.- Type
- string
- Magic
- Property
- The blob cache control header.


string $Container =
The name of the blob container in which the blob is stored.
The name of the blob container in which the blob is stored.- Type
- string
- Magic
- Property
- The name of the blob container in which the blob is stored.


string $ContentEncoding =
The blob content encoding header.
The blob content encoding header.- Type
- string
- Magic
- Property
- The blob content encoding header.


string $ContentLanguage =
The blob content language header.
The blob content language header.- Type
- string
- Magic
- Property
- The blob content language header.


string $ContentType =
The blob content type header.
The blob content type header.- Type
- string
- Magic
- Property
- The blob content type header.


string $Etag =
The entity tag, used for versioning and concurrency.
The entity tag, used for versioning and concurrency.- Type
- string
- Magic
- Property
- The entity tag, used for versioning and concurrency.


boolean $IsPrefix =
Is it a blob or a directory prefix?
Is it a blob or a directory prefix?- Type
- boolean
- Magic
- Property
- Is it a blob or a directory prefix?


string $LastModified =
Timestamp when the blob was last modified.
Timestamp when the blob was last modified.- Type
- string
- Magic
- Property
- Timestamp when the blob was last modified.


string $LeaseStatus =
The blob lease status.
The blob lease status.- Type
- string
- Magic
- Property
- The blob lease status.


array $Metadata =
Key/value pairs of meta data
Key/value pairs of meta data- Type
- array
- Magic
- Property
- Key/value pairs of meta data


string $Name =
The name of the blob.
The name of the blob.- Type
- string
- Magic
- Property
- The name of the blob.


int $Size =
The blob size in bytes.
The blob size in bytes.- Type
- int
- Magic
- Property
- The blob size in bytes.


string $SnapshotId =
The blob snapshot ID if it is a snapshot blob (= a backup copy of a blob).
The blob snapshot ID if it is a snapshot blob (= a backup copy of a blob).- Type
- string
- Magic
- Property
- The blob snapshot ID if it is a snapshot blob (= a backup copy of a blob).


string $Url =
The full URL where the blob can be downloaded.
The full URL where the blob can be downloaded.- Type
- string
- Magic
- Property
- The full URL where the blob can be downloaded.


array $_data = null
null
Details- Type
- array
- Inherited_from
- \Zend_Service_WindowsAzure_Storage_StorageEntityAbstract::$$_data
Methods


__construct(string $containerName, string $name, string $snapshotId, string $etag, string $lastModified, string $url = '', int $size = 0, string $contentType = '', string $contentEncoding = '', string $contentLanguage = '', string $cacheControl = '', string $blobType = '', string $leaseStatus = '', boolean $isPrefix = false, array $metadata = array()) : void
Constructor
Name | Type | Description |
---|---|---|
$containerName | string | Container name |
$name | string | Name |
$snapshotId | string | Snapshot id |
$etag | string | Etag |
$lastModified | string | Last modified date |
$url | string | Url |
$size | int | Size |
$contentType | string | Content Type |
$contentEncoding | string | Content Encoding |
$contentLanguage | string | Content Language |
$cacheControl | string | Cache control |
$blobType | string | Blob type |
$leaseStatus | string | Lease status |
$isPrefix | boolean | Is Prefix? |
$metadata | array | Key/value pairs of meta data |


__get(string $name) : void
Magic overload for getting properties
Inherited from: \Zend_Service_WindowsAzure_Storage_StorageEntityAbstract::__get()Name | Type | Description |
---|---|---|
$name | string | Name of the property |


__set(string $name, string $value) : void
Magic overload for setting properties
Inherited from: \Zend_Service_WindowsAzure_Storage_StorageEntityAbstract::__set()Name | Type | Description |
---|---|---|
$name | string | Name of the property |
$value | string | Value to set |