Service/Rackspace/Files/ObjectList.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 [email protected] 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_ObjectList

Package: Zend_Service_Rackspace\Files
List of servers retrived from the GoGrid 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

>VPropertyprotectedstring $container
The container name of the object list
Details
Type
string
>VPropertyprotectedint $iteratorKey = 0

Iterator key

Default value0Details
Type
int
>VPropertyprotectedarray $objects = array()

of Zend_Service_Rackspace_Files_Object

Default valuearray()Details
Type
array
>VPropertyprotected\RackspaceFiles $service
Details
Type
\RackspaceFiles

Methods

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

Construct

Parameters
NameTypeDescription
$service
$listarray
$container
Returns
TypeDescription
boolean
methodprivate_constructFromArray(array $list) : void

Transforms the Array to array of container

Parameters
NameTypeDescription
$listarray
methodpubliccount() : int

Return number of servers

Implement Countable::count()
Returns
TypeDescription
int
methodpubliccurrent() : \Zend_Service_Rackspace_Files_Object

Return the current element

Implement Iterator::current()
Returns
TypeDescription
\Zend_Service_Rackspace_Files_Object
methodpublickey() : int

Return the key of the current element

Implement Iterator::key()
Returns
TypeDescription
int
methodpublicnext() : void

Move forward to next element

Implement Iterator::next()
methodpublicoffsetExists(int $offset) : bool

Whether the offset exists

Implement ArrayAccess::offsetExists()
Parameters
NameTypeDescription
$offsetint
Returns
TypeDescription
bool
methodpublicoffsetGet(int $offset) : \Zend_Service_Rackspace_Files_Object

Return value at given offset

Implement ArrayAccess::offsetGet()
Parameters
NameTypeDescription
$offsetint
Returns
TypeDescription
\Zend_Service_Rackspace_Files_Object
Throws
ExceptionDescription
\Zend_Service_Rackspace_Files_Exception
methodpublicoffsetSet(int $offset, string $value) : void

Throws exception because all values are read-only

Implement ArrayAccess::offsetSet()
Parameters
NameTypeDescription
$offsetint
$valuestring
Throws
ExceptionDescription
\Zend_Service_Rackspace_Files_Exception
methodpublicoffsetUnset(int $offset) : void

Throws exception because all values are read-only

Implement ArrayAccess::offsetUnset()
Parameters
NameTypeDescription
$offsetint
Throws
ExceptionDescription
\Zend_Service_Rackspace_Files_Exception
methodpublicrewind() : void

Rewind the Iterator to the first element

Implement Iterator::rewind()
methodpublicvalid() : bool

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

Implement Iterator::valid()
Returns
TypeDescription
bool
Documentation was generated by phpDocumentor 2.2.0 .