Service/Rackspace/Servers/SharedIpGroup.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_Rackspace  
Subpackage
Servers  

\Zend_Service_Rackspace_Servers_SharedIpGroup

Package: Default

Constants

Constant  ERROR_PARAM_CONSTRUCT = 'You must pass a Zend_Service_Rackspace_Servers object and an array'
Constant  ERROR_PARAM_NO_NAME = 'You must pass the image\'s name in the array (name)'
Constant  ERROR_PARAM_NO_ID = 'You must pass the image\'s id in the array (id)'
Constant  ERROR_PARAM_NO_SERVERS = 'The servers parameter must be an array of Ids'

Properties

Propertyprotectedstring $id =

Id of the shared IP group

Details
Type
string
Propertyprotectedstring $name =

Name of the shared IP group

Details
Type
string
Propertyprotectedarray $serversId = array()

Array of servers of the shared IP group

Default valuearray()Details
Type
array
Propertyprotected\Zend_Service_Rackspace_Servers $service =

The service that has created the image object

Methods

methodpublic__construct(\Zend_Service_Rackspace_Servers $service, array $data) : void

Construct

Parameters
Name Type Description
$service \Zend_Service_Rackspace_Servers
$data array
methodpubliccreateServer(array $data, array $metadata = array(), array $files = array()) : \Zend_Service_Rackspace_Servers_Server | boolean

Create a server in the shared Ip Group

Parameters
Name Type Description
$data array
$metadata array
$files array
Returns
Type Description
\Zend_Service_Rackspace_Servers_Server | boolean
methodpublicgetId() : string

Get the id of the shared IP group

Returns
Type Description
string
methodpublicgetName() : string

Get the name of the shared IP group

Returns
Type Description
string
methodpublicgetServer(integer $id) : \Zend_Service_Rackspace_Servers_Server | boolean

Get the server

Parameters
Name Type Description
$id integer
Returns
Type Description
\Zend_Service_Rackspace_Servers_Server | boolean
methodpublicgetServersId() : string

Get the server's array of the shared IP group

Returns
Type Description
string
methodpublictoArray() : array

To Array

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