Service/Rackspace/Servers/SharedIpGroupList.php
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_SharedIpGroupList
List of shared Ip group of Rackspace
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\ArrayAccess
- Uses
- \global\Countable
- Uses
- \global\Iterator
- Uses
- \global\Zend_Service_Rackspace_Servers
Properties
Methods


__construct(\Zend_Service_Rackspace_Servers $service, array $list = array()) : void
Construct
Name | Type | Description |
---|---|---|
$service | \Zend_Service_Rackspace_Servers | |
$list | array |


addSharedIpGroup( $share) : \Zend_Service_Rackspace_Servers_SharedIpGroupList
Add a shared Ip group
Name | Type | Description |
---|---|---|
$share |
Type | Description |
---|---|
\Zend_Service_Rackspace_Servers_SharedIpGroupList |


constructFromArray(array $list) : void
Transforms the array to array of Shared Ip Group
Name | Type | Description |
---|---|---|
$list | array |


count() : int
Return number of shared Ip Groups
Implement Countable::count()
Type | Description |
---|---|
int |


current() : \Zend_Service_Rackspace_Servers_SharedIpGroup
Return the current element
Implement Iterator::current()
Type | Description |
---|---|
\Zend_Service_Rackspace_Servers_SharedIpGroup |


key() : int
Return the key of the current element
Implement Iterator::key()
Type | Description |
---|---|
int |


offsetExists(int $offset) : boolean
Whether the offset exists
Implement ArrayAccess::offsetExists()
Name | Type | Description |
---|---|---|
$offset | int |
Type | Description |
---|---|
boolean |


offsetGet(int $offset) : \Zend_Service_Rackspace_Servers_SharedIpGroup
Return value at given offset
Implement ArrayAccess::offsetGet()
Name | Type | Description |
---|---|---|
$offset | int |
Type | Description |
---|---|
\Zend_Service_Rackspace_Servers_SharedIpGroup |
Exception | Description |
---|---|
\Zend_Service_Rackspace_Servers_Exception |


offsetSet(int $offset, string $value) : void
Throws exception because all values are read-only
Implement ArrayAccess::offsetSet()
Name | Type | Description |
---|---|---|
$offset | int | |
$value | string |
Exception | Description |
---|---|
\Zend_Service_Rackspace_Servers_Exception |


offsetUnset(int $offset) : void
Throws exception because all values are read-only
Implement ArrayAccess::offsetUnset()
Name | Type | Description |
---|---|---|
$offset | int |
Exception | Description |
---|---|
\Zend_Service_Rackspace_Servers_Exception |