Zend Framework
1.12
|
Public Member Functions | |
__construct ($service, $data) | |
Construct. | |
getName () | |
Get the name of the shared IP group. | |
getId () | |
Get the id of the shared IP group. | |
getServersId () | |
Get the server's array of the shared IP group. | |
getServer ($id) | |
Get the server. | |
createServer (array $data, $metadata=array(), $files=array()) | |
Create a server in the shared Ip Group. | |
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)' |
const | ERROR_PARAM_NO_SERVERS = 'The servers parameter must be an array of Ids' |
Protected Attributes | |
$name | |
$id | |
$serversId = array() | |
$service | |
__construct | ( | $service, | |
$data | |||
) |
createServer | ( | array | $data, |
$metadata = array() , |
|||
$files = array() |
|||
) |
Create a server in the shared Ip Group.
array | $data | |
array | $metadata | |
array | $files |
getId | ( | ) |
Get the id of the shared IP group.
getName | ( | ) |
Get the name of the shared IP group.
getServer | ( | $id | ) |
Get the server.
integer | $id |
getServersId | ( | ) |
Get the server's array of the shared IP group.
toArray | ( | ) |
To Array.
|
protected |
|
protected |
|
protected |
|
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)' |
const ERROR_PARAM_NO_SERVERS = 'The servers parameter must be an array of Ids' |