Cloud/Infrastructure/Image.php

Show: PublicProtectedPrivateinherited
Table of Contents
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Cloud  
Subpackage
Infrastructure  

\Zend_Cloud_Infrastructure_Image

Package: Zend_Cloud\Infrastructure
Instance of an infrastructure service
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  IMAGE_ID = 'imageId'
>VConstant  IMAGE_OWNERID = 'ownerId'
>VConstant  IMAGE_NAME = 'name'
>VConstant  IMAGE_DESCRIPTION = 'description'
>VConstant  IMAGE_PLATFORM = 'platform'
>VConstant  IMAGE_ARCHITECTURE = 'architecture'
>VConstant  ARCH_32BIT = 'i386'
>VConstant  ARCH_64BIT = 'x86_64'
>VConstant  IMAGE_WINDOWS = 'windows'
>VConstant  IMAGE_LINUX = 'linux'

Properties

>VPropertyprotectedobject $adapter
The Image adapter (if exists)
Details
Type
object
>VPropertyprotectedarray $attributeRequired = array(self::IMAGE_ID, self::IMAGE_DESCRIPTION, self::IMAGE_PLATFORM, self::IMAGE_ARCHITECTURE)
Required attributes
Default valuearray(self::IMAGE_ID, self::IMAGE_DESCRIPTION, self::IMAGE_PLATFORM, self::IMAGE_ARCHITECTURE)Details
Type
array
>VPropertyprotectedarray $attributes = array()
Image's attributes
Default valuearray()Details
Type
array

Methods

methodpublic__construct(array $data, object $adapter = null) : void

Constructor

Parameters
NameTypeDescription
$dataarray
$adapterobject
methodpublicgetArchitecture() : string

Get the architecture

Returns
TypeDescription
string
methodpublicgetAttribute( $key) : \misc | boolean

Get Attribute with a specific key

Parameters
NameTypeDescription
$key
Returns
TypeDescription
\misc | boolean
methodpublicgetAttributes() : array

Get all the attributes

Returns
TypeDescription
array
methodpublicgetDescription() : string

Get the description

Returns
TypeDescription
string
methodpublicgetId() : string

Get the image ID

Returns
TypeDescription
string
methodpublicgetName() : string

Get the name

Returns
TypeDescription
string
methodpublicgetOwnerId() : string

Get the Owner ID

Returns
TypeDescription
string
methodpublicgetPlatform() : string

Get the platform

Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .