Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Service_Rackspace_Files_ContainerList Class Reference

Public Member Functions

 __construct ($service, $list=array())
 Constructor.
 
 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

 _addObject (Zend_Service_Rackspace_Files_Container $obj)
 Add an object.
 

Protected Attributes

 $objects = array()
 
 $iteratorKey = 0
 
 $service
 

Constructor & Destructor Documentation

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

Constructor.

Parameters
array$list
Returns
boolean

Member Function Documentation

_addObject ( Zend_Service_Rackspace_Files_Container  $obj)
protected
count ( )

Return number of servers.

Implement Countable::count()

Returns
int
current ( )

Return the current element.

Implement Iterator::current()

Returns
Zend_Service_Rackspace_Files_Container
int Iterator key ( )

Return the key of the current element.

Implement Iterator::key()

Returns
int
next ( )

Move forward to next element.

Implement Iterator::next()

Returns
void
offsetExists (   $offset)

Whether the offset exists.

Implement ArrayAccess::offsetExists()

Parameters
int$offset
Returns
bool
offsetGet (   $offset)

Return value at given offset.

Implement ArrayAccess::offsetGet()

Parameters
int$offset
Exceptions
Zend_Service_Rackspace_Files_Exception
Returns
Zend_Service_Rackspace_Files_Container
offsetSet (   $offset,
  $value 
)

Throws exception because all values are read-only.

Implement ArrayAccess::offsetSet()

Parameters
int$offset
string$value
Exceptions
Zend_Service_Rackspace_Files_Exception
offsetUnset (   $offset)

Throws exception because all values are read-only.

Implement ArrayAccess::offsetUnset()

Parameters
int$offset
Exceptions
Zend_Service_Rackspace_Files_Exception
rewind ( )

Rewind the Iterator to the first element.

Implement Iterator::rewind()

Returns
void
valid ( )

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

Implement Iterator::valid()

Returns
bool

Member Data Documentation

$iteratorKey = 0
protected
$objects = array()
protected
$service
protected