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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- Delicious
- Version
- $Id$
\Zend_Service_Delicious_PostList
Package: Zend_Service\Delicious





Returns

Returns
Throws

Throws

Throws




List of posts retrived from the del.icio.us web service
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods

__construct(\Zend_Service_Delicious $service, \DOMNodeList | array $posts = null) : voidParameters
| Name | Type | Description |
|---|---|---|
| $service | \Zend_Service_Delicious | Service that has downloaded the post |
| $posts | \DOMNodeList | array |

_addPost(\Zend_Service_Delicious_SimplePost $post) : \Zend_Service_Delicious_PostListAdd a post
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $post | \Zend_Service_Delicious_SimplePost |
| Type | Description |
|---|---|
| \Zend_Service_Delicious_PostList |

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

_constructFromNodeList(\DOMNodeList $nodeList) : voidTransforms DOMNodeList to array of posts
Parameters
| Name | Type | Description |
|---|---|---|
| $nodeList | \DOMNodeList |

current() : \Zend_Service_Delicious_SimplePostReturn the current element
Implement Iterator::current()
Returns| Type | Description |
|---|---|
| \Zend_Service_Delicious_SimplePost |

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

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

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_Service_Delicious_Exception |

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

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

withTag(string $tag) : \Zend_Service_Delicious_PostListFilter list by tag
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $tag | string |
| Type | Description |
|---|---|
| \Zend_Service_Delicious_PostList |

withTags(array $tags) : \Zend_Service_Delicious_PostListFilter list by list of tags
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $tags | array |
| Type | Description |
|---|---|
| \Zend_Service_Delicious_PostList |

withUrl(string $regexp) : \Zend_Service_Delicious_PostListFilter list by urls matching a regular expression
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $regexp | string |
| Type | Description |
|---|---|
| \Zend_Service_Delicious_PostList |