Cloud/Infrastructure/Image.php

Show: inherited
Table of Contents

Category
Zend  
Copyright
Copyright (c) 2005-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

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

Properties

Propertyprotectedobject $adapter =

The Image adapter (if exists)

Details
Type
object
Propertyprotectedarray $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
Propertyprotectedarray $attributes = array()

Image's attributes

Default valuearray()Details
Type
array

Methods

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

Constructor

Parameters
Name Type Description
$data array
$adapter object
methodpublicgetArchitecture() : string

Get the architecture

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

Get Attribute with a specific key

Parameters
Name Type Description
$key
Returns
Type Description
\misc | boolean
methodpublicgetAttributes() : array

Get all the attributes

Returns
Type Description
array
methodpublicgetDescription() : string

Get the description

Returns
Type Description
string
methodpublicgetId() : string

Get the image ID

Returns
Type Description
string
methodpublicgetName() : string

Get the name

Returns
Type Description
string
methodpublicgetOwnerId() : string

Get the Owner ID

Returns
Type Description
string
methodpublicgetPlatform() : string

Get the platform

Returns
Type Description
string
Documentation was generated by phpDocumentor 2.0.0a8.