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 license@zend.com 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
Package: Zend\Service\WindowsAzure\Storage















- 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 $BlobTypeThe blob type (block blob / page blob).
Details
- Type
- string
- Magic
- Property
- The blob type (block blob / page blob).

string $CacheControlThe blob cache control header.
Details
- Type
- string
- Magic
- Property
- The blob cache control header.

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

string $ContentEncodingThe blob content encoding header.
Details
- Type
- string
- Magic
- Property
- The blob content encoding header.

string $ContentLanguageThe blob content language header.
Details
- Type
- string
- Magic
- Property
- The blob content language header.

string $ContentTypeThe blob content type header.
Details
- Type
- string
- Magic
- Property
- The blob content type header.

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

boolean $IsPrefixIs it a blob or a directory prefix?
Details
- Type
- boolean
- Magic
- Property
- Is it a blob or a directory prefix?

string $LastModifiedTimestamp when the blob was last modified.
Details
- Type
- string
- Magic
- Property
- Timestamp when the blob was last modified.

array $MetadataKey/value pairs of meta data
Details
- Type
- array
- Magic
- Property
- Key/value pairs of meta data

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

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

array $_data = nullDefault value
nullDetails- 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()) : voidConstructor
Parameters
| 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) : voidinherited
Magic overload for getting properties
Inherited from: \Zend_Service_WindowsAzure_Storage_StorageEntityAbstract::__get()Parameters
| Name | Type | Description |
|---|---|---|
| $name | string | Name of the property |

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