List of shared Ip group of Rackspace

uses
uses
uses
uses
category Zend
package Zend_Service_Rackspace
subpackage Servers
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Construct

__construct(\Zend_Service_Rackspace_Servers $service, array $list = array()) : void

Parameters

$service

\Zend_Service_Rackspace_Servers

$list

array

Return number of shared Ip Groups

count() : integer

Implement Countable::count()

Returns

integer

Return the current element

current() : \Zend_Service_Rackspace_Servers_SharedIpGroup

Implement Iterator::current()

Returns

\Zend_Service_Rackspace_Servers_SharedIpGroup

Return the key of the current element

key() : integer

Implement Iterator::key()

Returns

integer

Move forward to next element

next() : void

Implement Iterator::next()

Whether the offset exists

offsetExists(integer $offset) : boolean

Implement ArrayAccess::offsetExists()

Parameters

$offset

integer

Returns

boolean

Return value at given offset

offsetGet(integer $offset) : \Zend_Service_Rackspace_Servers_SharedIpGroup

Implement ArrayAccess::offsetGet()

Parameters

$offset

integer

Exceptions

\Zend_Service_Rackspace_Servers_Exception

Returns

\Zend_Service_Rackspace_Servers_SharedIpGroup

Throws exception because all values are read-only

offsetSet(integer $offset, string $value) 

Implement ArrayAccess::offsetSet()

Parameters

$offset

integer

$value

string

Exceptions

\Zend_Service_Rackspace_Servers_Exception

Throws exception because all values are read-only

offsetUnset(integer $offset) 

Implement ArrayAccess::offsetUnset()

Parameters

$offset

integer

Exceptions

\Zend_Service_Rackspace_Servers_Exception

Rewind the Iterator to the first element

rewind() : void

Implement Iterator::rewind()

To Array

toArray() : array

Returns

array

Check if there is a current element after calls to rewind() or next()

valid() : boolean

Implement Iterator::valid()

Returns

boolean

Add a shared Ip group

addSharedIpGroup(\Zend_Service_Rackspace_Servers_SharedIpGroup $share) : \Zend_Service_Rackspace_Servers_SharedIpGroupList

Parameters

$share

Returns

\Zend_Service_Rackspace_Servers_SharedIpGroupList

Transforms the array to array of Shared Ip Group

constructFromArray(array $list) : void

Parameters

$list

array

 Properties

 

Iterator key

$iteratorKey : integer

Default

0
 

$service

$service : \Zend_Service_Rackspace_Servers

Default

 

of Zend_Service_Rackspace_Servers_SharedIpGroup

$shared : array

Default

array()