Service/Rackspace/Files/ContainerList.php
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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_Rackspace
- Subpackage
- Files
\Zend_Service_Rackspace_Files_ContainerList
Package: Zend_Service_Rackspace\Files





Returns

Returns
Throws

Throws

Throws
List of servers retrived from the Rackspace web service
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- Uses
- Uses
- Uses
- Uses
Properties

array $objects = array()Array of Zend_Service_Rackspace_Files_Container
Default value
array()Details- Type
- array
Methods

__construct( $service, array $list = array()) : booleanConstructor
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $service | ||
| $list | array |
| Type | Description |
|---|---|
| boolean |

_addObject(\Zend_Service_Rackspace_Files_Container $obj) : \Zend_Service_Rackspace_Files_ContainerListAdd an object
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $obj | \Zend_Service_Rackspace_Files_Container |
| Type | Description |
|---|---|
| \Zend_Service_Rackspace_Files_ContainerList |

_constructFromArray(array $list) : voidTransforms the Array to array of container
Parameters
| Name | Type | Description |
|---|---|---|
| $list | array |

current() : \Zend_Service_Rackspace_Files_ContainerReturn the current element
Implement Iterator::current()
Returns| Type | Description |
|---|---|
| \Zend_Service_Rackspace_Files_Container |

offsetExists(int $offset) : boolWhether the offset exists
Implement ArrayAccess::offsetExists()
Parameters| Name | Type | Description |
|---|---|---|
| $offset | int |
| Type | Description |
|---|---|
| bool |

offsetGet(int $offset) : \Zend_Service_Rackspace_Files_ContainerReturn value at given offset
Implement ArrayAccess::offsetGet()
Parameters| Name | Type | Description |
|---|---|---|
| $offset | int |
| Type | Description |
|---|---|
| \Zend_Service_Rackspace_Files_Container |
| Exception | Description |
|---|---|
| \Zend_Service_Rackspace_Files_Exception |

offsetSet(int $offset, string $value) : voidThrows exception because all values are read-only
Implement ArrayAccess::offsetSet()
Parameters| Name | Type | Description |
|---|---|---|
| $offset | int | |
| $value | string |
| Exception | Description |
|---|---|
| \Zend_Service_Rackspace_Files_Exception |

offsetUnset(int $offset) : voidThrows exception because all values are read-only
Implement ArrayAccess::offsetUnset()
Parameters| Name | Type | Description |
|---|---|---|
| $offset | int |
| Exception | Description |
|---|---|
| \Zend_Service_Rackspace_Files_Exception |