List of servers retrived from the Rackspace web service

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

 Methods

Constructor

__construct($service, array $list = array()) : boolean

Parameters

$service

$list

array

Returns

boolean

Return number of servers

count() : integer

Implement Countable::count()

Returns

integer

Return the current element

current() : \Zend_Service_Rackspace_Files_Container

Implement Iterator::current()

Returns

\Zend_Service_Rackspace_Files_Container

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_Files_Container

Implement ArrayAccess::offsetGet()

Parameters

$offset

integer

Exceptions

\Zend_Service_Rackspace_Files_Exception

Returns

\Zend_Service_Rackspace_Files_Container

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_Files_Exception

Throws exception because all values are read-only

offsetUnset(integer $offset) 

Implement ArrayAccess::offsetUnset()

Parameters

$offset

integer

Exceptions

\Zend_Service_Rackspace_Files_Exception

Rewind the Iterator to the first element

rewind() : void

Implement Iterator::rewind()

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

valid() : boolean

Implement Iterator::valid()

Returns

boolean

Add an object

_addObject(\Zend_Service_Rackspace_Files_Container $obj) : \Zend_Service_Rackspace_Files_ContainerList

Parameters

$obj

\Zend_Service_Rackspace_Files_Container

Returns

\Zend_Service_Rackspace_Files_ContainerList

Transforms the Array to array of container

_constructFromArray(array $list) : void

Parameters

$list

array

 Properties

 

Iterator key

$iteratorKey : integer

Default

0
 

Array of Zend_Service_Rackspace_Files_Container

$objects : array

Default

array()
 

$service

$service : \RackspaceFiles

Default