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) : booleanConstructor
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $images | ||
| $adapter | null | object |
| Type | Description |
|---|---|
| boolean |

addImage( $image) : \ImageListAdd an image
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $image |
| Type | Description |
|---|---|
| \ImageList |

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

current() : \ImageReturn the current element
Implement Iterator::current()
Returns| Type | Description |
|---|---|
| \Image |

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

offsetGet(int $offset) : \ImageReturn value at given offset
Implement ArrayAccess::offsetGet()
Parameters| Name | Type | Description |
|---|---|---|
| $offset | int |
| Type | Description |
|---|---|
| \Image |
| Exception | Description |
|---|---|
| \Zend_Cloud_Infrastructure_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_Cloud_Infrastructure_Exception |

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