Cloud/Infrastructure/ImageList.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 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
Returns
Returns
Throws
Throws
Throws
List of images
- Implements
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__construct( $images, null | object $adapter = null) : boolean
Constructor
Parameters
Returns
Name | Type | Description |
---|---|---|
$images | ||
$adapter | null | object |
Type | Description |
---|---|
boolean |
addImage( $image) : \ImageList
Add an image
Parameters
Returns
Name | Type | Description |
---|---|---|
$image |
Type | Description |
---|---|
\ImageList |
constructFromArray(array $list) : void
Transforms the Array to array of Instances
Parameters
Name | Type | Description |
---|---|---|
$list | array |
current() : \Image
Return the current element
Implement Iterator::current()
ReturnsType | Description |
---|---|
\Image |
offsetExists(int $offset) : bool
Whether the offset exists
Implement ArrayAccess::offsetExists()
ParametersName | Type | Description |
---|---|---|
$offset | int |
Type | Description |
---|---|
bool |
offsetGet(int $offset) : \Image
Return value at given offset
Implement ArrayAccess::offsetGet()
ParametersName | Type | Description |
---|---|---|
$offset | int |
Type | Description |
---|---|
\Image |
Exception | Description |
---|---|
\Zend_Cloud_Infrastructure_Exception |
offsetSet(int $offset, string $value) : void
Throws exception because all values are read-only
Implement ArrayAccess::offsetSet()
ParametersName | Type | Description |
---|---|---|
$offset | int | |
$value | string |
Exception | Description |
---|---|
\Zend_Cloud_Infrastructure_Exception |
offsetUnset(int $offset) : void
Throws exception because all values are read-only
Implement ArrayAccess::offsetUnset()
ParametersName | Type | Description |
---|---|---|
$offset | int |
Exception | Description |
---|---|
\Zend_Cloud_Infrastructure_Exception |