Zend Framework  1.12
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Zend_Cloud_Infrastructure_Image Class Reference

Public Member Functions

 __construct ($data, $adapter=null)
 Constructor.
 
 getAttribute ($key)
 Get Attribute with a specific key.
 
 getAttributes ()
 Get all the attributes.
 
 getId ()
 Get the image ID.
 
 getOwnerId ()
 Get the Owner ID.
 
 getName ()
 Get the name.
 
 getDescription ()
 Get the description.
 
 getPlatform ()
 Get the platform.
 
 getArchitecture ()
 Get the architecture.
 

Public Attributes

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

Protected Attributes

 $attributes = array()
 
 $adapter
 
 $attributeRequired
 

Constructor & Destructor Documentation

__construct (   $data,
  $adapter = null 
)

Constructor.

Parameters
array$data
object$adapter

Member Function Documentation

getArchitecture ( )

Get the architecture.

Returns
string
getAttribute (   $key)

Get Attribute with a specific key.

Parameters
array$data
Returns
misc|boolean
getAttributes ( )

Get all the attributes.

Returns
array
getDescription ( )

Get the description.

Returns
string
getId ( )

Get the image ID.

Returns
string
getName ( )

Get the name.

Returns
string
getOwnerId ( )

Get the Owner ID.

Returns
string
getPlatform ( )

Get the platform.

Returns
string

Member Data Documentation

$adapter
protected
$attributeRequired
protected
Initial value:
= array(
self::IMAGE_ID,
self::IMAGE_DESCRIPTION,
self::IMAGE_PLATFORM,
self::IMAGE_ARCHITECTURE,
)
$attributes = array()
protected
const ARCH_32BIT = 'i386'
const ARCH_64BIT = 'x86_64'
const IMAGE_ARCHITECTURE = 'architecture'
const IMAGE_DESCRIPTION = 'description'
const IMAGE_ID = 'imageId'
const IMAGE_LINUX = 'linux'
const IMAGE_NAME = 'name'
const IMAGE_OWNERID = 'ownerId'
const IMAGE_PLATFORM = 'platform'
const IMAGE_WINDOWS = 'windows'