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

Public Member Functions

 __construct ($service, $data)
 Construct.
 
 getName ()
 Get the name of the image.
 
 getId ()
 Get the image's id.
 
 getServerId ()
 Get the server's id of the image.
 
 getUpdated ()
 Get the updated data.
 
 getCreated ()
 Get the created data.
 
 getStatus ()
 Get the image's status.
 
 getProgress ()
 Get the progress's status.
 
 toArray ()
 To Array.
 

Public Attributes

const ERROR_PARAM_CONSTRUCT = 'You must pass a Zend_Service_Rackspace_Servers object and an array'
 
const ERROR_PARAM_NO_NAME = 'You must pass the image\'s name in the array (name)'
 
const ERROR_PARAM_NO_ID = 'You must pass the image\'s id in the array (id)'
 

Protected Attributes

 $name
 
 $id
 
 $serverId
 
 $updated
 
 $created
 
 $status
 
 $progress
 
 $service
 

Constructor & Destructor Documentation

__construct (   $service,
  $data 
)

Construct.

Parameters
array$data
Returns
void

Member Function Documentation

getCreated ( )

Get the created data.

Returns
string
getId ( )

Get the image's id.

Returns
string
getName ( )

Get the name of the image.

Returns
string
getProgress ( )

Get the progress's status.

Returns
integer|boolean
getServerId ( )

Get the server's id of the image.

Returns
string
getStatus ( )

Get the image's status.

Returns
string|boolean
getUpdated ( )

Get the updated data.

Returns
string
toArray ( )

To Array.

Returns
array

Member Data Documentation

$created
protected
$id
protected
$name
protected
$progress
protected
$serverId
protected
$service
protected
$status
protected
$updated
protected
const ERROR_PARAM_CONSTRUCT = 'You must pass a Zend_Service_Rackspace_Servers object and an array'
const ERROR_PARAM_NO_ID = 'You must pass the image\'s id in the array (id)'
const ERROR_PARAM_NO_NAME = 'You must pass the image\'s name in the array (name)'