Service/Rackspace/Servers/SharedIpGroupList.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_SharedIpGroupList

Package: Zend\Service\Rackspace\Servers

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

Propertyprotectedint $iteratorKey = 0

<p>Iterator key</p>
Default value0Details
Type
int
Propertyprotected\Zend_Service_Rackspace_Servers $service =

Propertyprotectedarray $shared = array()

<p>of Zend_Service_Rackspace_Servers_SharedIpGroup</p>
Default valuearray()Details
Type
array

Methods

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

Construct

Parameters
Name Type Description
$service \Zend_Service_Rackspace_Servers
$list array
methodprotectedaddSharedIpGroup( $share) : \Zend_Service_Rackspace_Servers_SharedIpGroupList

Add a shared Ip group

Parameters
Name Type Description
$share
Returns
Type Description
\Zend_Service_Rackspace_Servers_SharedIpGroupList
methodprivateconstructFromArray(array $list) : void

Transforms the array to array of Shared Ip Group

Parameters
Name Type Description
$list array
methodpubliccount() : int

Return number of shared Ip Groups

Implement Countable::count()

Returns
Type Description
int
methodpubliccurrent() : \Zend_Service_Rackspace_Servers_SharedIpGroup

Return the current element

Implement Iterator::current()

Returns
Type Description
\Zend_Service_Rackspace_Servers_SharedIpGroup
methodpublickey() : int

Return the key of the current element

Implement Iterator::key()

Returns
Type Description
int
methodpublicnext() : void

Move forward to next element

Implement Iterator::next()

methodpublicoffsetExists(int $offset) : boolean

Whether the offset exists

Implement ArrayAccess::offsetExists()

Parameters
Name Type Description
$offset int
Returns
Type Description
boolean
methodpublicoffsetGet(int $offset) : \Zend_Service_Rackspace_Servers_SharedIpGroup

Return value at given offset

Implement ArrayAccess::offsetGet()

Parameters
Name Type Description
$offset int
Returns
Type Description
\Zend_Service_Rackspace_Servers_SharedIpGroup
Throws
Exception Description
\Zend_Service_Rackspace_Servers_Exception
methodpublicoffsetSet(int $offset, string $value) : void

Throws exception because all values are read-only

Implement ArrayAccess::offsetSet()

Parameters
Name Type Description
$offset int
$value string
Throws
Exception Description
\Zend_Service_Rackspace_Servers_Exception
methodpublicoffsetUnset(int $offset) : void

Throws exception because all values are read-only

Implement ArrayAccess::offsetUnset()

Parameters
Name Type Description
$offset int
Throws
Exception Description
\Zend_Service_Rackspace_Servers_Exception
methodpublicrewind() : void

Rewind the Iterator to the first element

Implement Iterator::rewind()

methodpublictoArray() : array

To Array

Returns
Type Description
array
methodpublicvalid() : boolean

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

Implement Iterator::valid()

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