Cloud/Infrastructure/ImageList.php

Show: inherited
Table of Contents

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Cloud  
Subpackage
Infrastructure  

\Zend_Cloud_Infrastructure_ImageList

Package: Zend\Cloud\Infrastructure

List of images

Implements
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedobject $adapter =

The Image adapter (if exists)

Details
Type
object
Propertyprotectedarray $images = array()

<p>Array of Zend_Cloud_Infrastructure_Image</p>
Default valuearray()Details
Type
array
Propertyprotectedint $iteratorKey = 0

<p>Iterator key</p>
Default value0Details
Type
int

Methods

methodpublic__construct( $images, null | object $adapter = null) : boolean

Constructor

Parameters
Name Type Description
$images
$adapter null | object
Returns
Type Description
boolean
methodprotectedaddImage( $image) : \ImageList

Add an image

Parameters
Name Type Description
$image

Image

Returns
Type Description
\ImageList
methodprotectedconstructFromArray(array $list) : void

Transforms the Array to array of Instances

Parameters
Name Type Description
$list array
methodpubliccount() : int

Return number of images

Implement Countable::count()

Returns
Type Description
int
methodpubliccurrent() : \Image

Return the current element

Implement Iterator::current()

Returns
Type Description
\Image
methodpublickey() : int

Return the key of the current element

Implement Iterator::key()

Returns
Type Description
int
methodpublicnext() : void

Move forward to next element

Implement Iterator::next()

methodpublicoffsetExists(int $offset) : bool

Whether the offset exists

Implement ArrayAccess::offsetExists()

Parameters
Name Type Description
$offset int
Returns
Type Description
bool
methodpublicoffsetGet(int $offset) : \Image

Return value at given offset

Implement ArrayAccess::offsetGet()

Parameters
Name Type Description
$offset int
Returns
Type Description
\Image
Throws
Exception Description
\Zend_Cloud_Infrastructure_Exception
methodpublicoffsetSet(int $offset, string $value) : void

Throws exception because all values are read-only

Implement ArrayAccess::offsetSet()

Parameters
Name Type Description
$offset int
$value string
Throws
Exception Description
\Zend_Cloud_Infrastructure_Exception
methodpublicoffsetUnset(int $offset) : void

Throws exception because all values are read-only

Implement ArrayAccess::offsetUnset()

Parameters
Name Type Description
$offset int
Throws
Exception Description
\Zend_Cloud_Infrastructure_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
Type Description
bool
Documentation was generated by phpDocumentor 2.0.0a8.