|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct (Zend_Service_Delicious $service, $posts=null) | |
| withTags (array $tags) | |
| withTag ($tag) | |
| withUrl ($regexp) | |
| count () | |
| current () | |
| key () | |
| next () | |
| rewind () | |
| valid () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Protected Member Functions | |
| _addPost (Zend_Service_Delicious_SimplePost $post) | |
Protected Attributes | |
| $_posts = array() | |
| $_service | |
| $_iteratorKey = 0 | |
Definition at line 34 of file PostList.php.
| __construct | ( | Zend_Service_Delicious $ | service, |
| $ | posts = null |
||
| ) |
| Zend_Service_Delicious | $service | Service that has downloaded the post |
| DOMNodeList | array | $posts |
Definition at line 56 of file PostList.php.
| _addPost | ( | Zend_Service_Delicious_SimplePost $ | post | ) | [protected] |
Add a post
| Zend_Service_Delicious_SimplePost | $post |
Definition at line 101 of file PostList.php.
| count | ( | ) |
Return number of posts
Implement Countable::count()
Definition at line 164 of file PostList.php.

| current | ( | ) |
Return the current element
Implement Iterator::current()
Definition at line 176 of file PostList.php.
| int Iterator key | ( | ) |
Return the key of the current element
Implement Iterator::key()
Definition at line 188 of file PostList.php.
| next | ( | ) |
Move forward to next element
Implement Iterator::next()
Definition at line 200 of file PostList.php.
| offsetExists | ( | $ | offset | ) |
Whether the offset exists
Implement ArrayAccess::offsetExists()
| int | $offset |
Definition at line 243 of file PostList.php.


| offsetGet | ( | $ | offset | ) |
Return value at given offset
Implement ArrayAccess::offsetGet()
| int | $offset |
| OutOfBoundsException |
Definition at line 257 of file PostList.php.

| offsetSet | ( | $ | offset, |
| $ | value | ||
| ) |
Throws exception because all values are read-only
Implement ArrayAccess::offsetSet()
| int | $offset | |
| string | $value |
| Zend_Service_Delicious_Exception |
Definition at line 275 of file PostList.php.
| offsetUnset | ( | $ | offset | ) |
Throws exception because all values are read-only
Implement ArrayAccess::offsetUnset()
| int | $offset |
| Zend_Service_Delicious_Exception |
Definition at line 292 of file PostList.php.
| rewind | ( | ) |
Rewind the Iterator to the first element
Implement Iterator::rewind()
Definition at line 212 of file PostList.php.
| valid | ( | ) |
Check if there is a current element after calls to rewind() or next()
Implement Iterator::valid()
Definition at line 224 of file PostList.php.

| withTag | ( | $ | tag | ) |
Filter list by tag
| string | $tag |
Definition at line 133 of file PostList.php.

Filter list by list of tags
| array | $tags |
Definition at line 114 of file PostList.php.


| withUrl | ( | $ | regexp | ) |
Filter list by urls matching a regular expression
| string | $regexp |
Definition at line 144 of file PostList.php.
$_iteratorKey = 0 [protected] |
Definition at line 49 of file PostList.php.
$_posts = array() [protected] |
Definition at line 39 of file PostList.php.
$_service [protected] |
Definition at line 44 of file PostList.php.