Service/Delicious/PostList.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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Delicious
- Version
- $Id: PostList.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_Delicious_PostList
Package: Zend\Service\DeliciousList of posts retrived from the del.icio.us web service
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties



array $_posts = array()Array of Zend_Service_Delicious_Post
Default valuearray()Details- Type
- array
Methods



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



key() : intReturn the key of the current element
Implement Iterator::key()
Returns


next() : voidMove forward to next element
Implement Iterator::next()



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


offsetGet(int $offset) : \Zend_Service_Delicious_SimplePostReturn value at given offset
Implement ArrayAccess::offsetGet()
Parameters| Name | Type | Description |
|---|
| $offset | int | |
|---|
ReturnsThrows


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


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


rewind() : voidRewind the Iterator to the first element
Implement Iterator::rewind()



valid() : boolCheck if there is a current element after calls to rewind() or next()
Implement Iterator::valid()
Returns