Docs For Class Zend_Service_Delicious_PostList

## Class Zend_Service_Delicious_PostList

Description

Implements interfaces:

- Countable (internal interface)
- Iterator (internal interface)
- ArrayAccess (internal interface)

Zend_Service_Delicio is a concrete implementation of the del.icio.us web service

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Service/Delicious/PostList.php (line 32)

Variable Summary
int $_iteratorKey
array $_posts
Zend_Service_Delicious $_service
Method Summary
Zend_Service_Delicious_PostList __construct (Zend_Service_Delicious $service, [ $posts = null], DOMNodeList $nodeList)
void count ()
Zend_Service_Delicious_SimplePost current ()
int key ()
void next ()
bool offsetExists ( $offset)
Zend_Service_Delicious_SimplePost offsetGet ( $offset)
void offsetSet ( $offset, $value)
void offsetUnset ( $offset)
void rewind ()
void valid ()
Zend_Service_Delicious_PostList withTag (array $tag)
Zend_Service_Delicious_PostList withTags (array $tags)
Zend_Service_Delicious_PostList withUrl ( $regexp, array $tag)
Zend_Service_Delicious_PostList _addPost (Zend_Service_Delicious_SimplePost $post)
Variables
int $_iteratorKey = 0 (line 44)

- var: Iterator key
- access: protected

array $_posts = array() (line 36)

- var: Array of Zend_Service_Delicious_Post-a
- access: protected

Zend_Service_Delicious $_service (line 40)

- var: Service that has downloaded the post list
- access: protected

Methods
Constructor __construct (line 51)

- access: public

Zend_Service_Delicious_PostList __construct (Zend_Service_Delicious $service, [ $posts = null], DOMNodeList $nodeList)

- Zend_Service_Delicious $service: Service that has downloaded the post
- DOMNodeList $nodeList
- $posts

count (line 150)

Return number of posts

Implement Countable::count

- access: public

void count ()

Implementation of:

Countable::count

current (line 160)

Return the current element Implement Iterator::current()

- access: public

Zend_Service_Delicious_SimplePost current ()

Implementation of:

Iterator::current

key (line 170)

Return the key of the current element Implement Iterator::key()

- access: public

int key ()

Implementation of:

Iterator::key

next (line 178)

Move forward to next element.

Implement Iterator::next()

- access: public

void next ()

Implementation of:

Iterator::next

offsetExists (line 210)

Whether the offset exists Implement ArrayAccess::offsetExists()

- access: public

bool offsetExists ( $offset)

- $offset

Implementation of:

ArrayAccess::offsetExists

offsetGet (line 220)

Value at given offset Implement ArrayAccess::offsetGet()

- access: public

Zend_Service_Delicious_SimplePost offsetGet ( $offset)

- $offset

Implementation of:

ArrayAccess::offsetGet

offsetSet (line 232)

Throws exception because all values are read-only

Implement ArrayAccess::offsetSet()

- access: public

void offsetSet ( $offset, $value)

- $offset
- $value

Implementation of:

ArrayAccess::offsetSet

offsetUnset (line 240)

Throws exception because all values are read-only

Implement ArrayAccess::offsetUnset()

- access: public

void offsetUnset ( $offset)

- $offset

Implementation of:

ArrayAccess::offsetUnset

rewind (line 186)

Rewind the Iterator to the first element

Implement Iterator::rewind()

- access: public

void rewind ()

Implementation of:

Iterator::rewind

valid (line 194)

Check if there is a current element after calls to rewind() or next().

Implement Iterator::rewind()

- access: public

void valid ()

Implementation of:

Iterator::valid

withTag (line 125)

Filter list by tag

- access: public

Zend_Service_Delicious_PostList withTag (array $tag)

- array $tag

withTags (line 105)

Filter list by list of tags

- access: public

Zend_Service_Delicious_PostList withTags (array $tags)

- array $tags

withUrl (line 134)

Filter list by tag

- access: public

Zend_Service_Delicious_PostList withUrl ( $regexp, array $tag)

- array $tag
- $regexp

_addPost (line 93)

Add a post

- access: protected

Zend_Service_Delicious_PostList _addPost (Zend_Service_Delicious_SimplePost $post)

- Zend_Service_Delicious_Post $post

Documentation generated on Sun, 29 Oct 2006 21:28:00 -0600 by phpDocumentor 1.3.0RC6