List of servers retrived from the GoGrid 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

Construct

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

Parameters

$service

$list

array

$container

Returns

boolean

Return number of servers

count() : integer

Implement Countable::count()

Returns

integer

Return the current element

current() : \Zend_Service_Rackspace_Files_Object

Implement Iterator::current()

Returns

\Zend_Service_Rackspace_Files_Object

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_Object

Implement ArrayAccess::offsetGet()

Parameters

$offset

integer

Exceptions

\Zend_Service_Rackspace_Files_Exception

Returns

\Zend_Service_Rackspace_Files_Object

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_Object $obj) : \Zend_Service_Rackspace_Files_ObjectList

Parameters

$obj

\Zend_Service_Rackspace_Files_Object

Returns

\Zend_Service_Rackspace_Files_ObjectList

Transforms the Array to array of container

_constructFromArray(array $list) : void

Parameters

$list

array

 Properties

 

The container name of the object list

$container : string

Default

 

Iterator key

$iteratorKey : integer

Default

0
 

of Zend_Service_Rackspace_Files_Object

$objects : array

Default

array()
 

$service

$service : \RackspaceFiles

Default