Zend Framework
1.12
|
Public Member Functions | |
__construct ($service, $list=array()) | |
Construct. | |
toArray () | |
To Array. | |
count () | |
Return number of servers. | |
current () | |
Return the current element. | |
key () | |
Return the key of the current element. | |
next () | |
Move forward to next element. | |
rewind () | |
Rewind the Iterator to the first element. | |
valid () | |
Check if there is a current element after calls to rewind() or next() | |
offsetExists ($offset) | |
Whether the offset exists. | |
offsetGet ($offset) | |
Return value at given offset. | |
offsetSet ($offset, $value) | |
Throws exception because all values are read-only. | |
offsetUnset ($offset) | |
Throws exception because all values are read-only. | |
Protected Member Functions | |
addServer (Zend_Service_Rackspace_Servers_Server $server) | |
Add a server. | |
Protected Attributes | |
$servers = array() | |
$iteratorKey = 0 | |
$service | |
__construct | ( | $service, | |
$list = array() |
|||
) |
|
protected |
Add a server.
Zend_Service_Rackspace_Servers_Server | $server |
count | ( | ) |
Return number of servers.
Implement Countable::count()
current | ( | ) |
Return the current element.
Implement Iterator::current()
int Iterator key | ( | ) |
Return the key of the current element.
Implement Iterator::key()
next | ( | ) |
Move forward to next element.
Implement Iterator::next()
offsetExists | ( | $offset | ) |
Whether the offset exists.
Implement ArrayAccess::offsetExists()
int | $offset |
offsetGet | ( | $offset | ) |
Return value at given offset.
Implement ArrayAccess::offsetGet()
int | $offset |
Zend_Service_Rackspace_Servers_Exception |
offsetSet | ( | $offset, | |
$value | |||
) |
Throws exception because all values are read-only.
Implement ArrayAccess::offsetSet()
int | $offset | |
string | $value |
Zend_Service_Rackspace_Servers_Exception |
offsetUnset | ( | $offset | ) |
Throws exception because all values are read-only.
Implement ArrayAccess::offsetUnset()
int | $offset |
Zend_Service_Rackspace_Servers_Exception |
rewind | ( | ) |
Rewind the Iterator to the first element.
Implement Iterator::rewind()
toArray | ( | ) |
To Array.
valid | ( | ) |
|
protected |
|
protected |
|
protected |