Class Zend_Service_Delicious_PostList

Description

Implements interfaces:

  • Countable (internal interface)
  • Iterator (internal interface)
  • ArrayAccess (internal interface)

List of posts retrived from the del.icio.us web service

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

Located in /Service/Delicious/PostList.php (line 34)


	
			
Variable Summary
Method Summary
 void __construct (Zend_Service_Delicious $service, [DOMNodeList|array $posts = null])
 int count ()
 int key ()
 void next ()
 bool offsetExists ( $offset)
 void offsetSet ( $offset,  $value)
 void offsetUnset ( $offset)
 void rewind ()
 bool valid ()
Variables
int $_iteratorKey = 0 (line 49)
  • var: Iterator key
  • access: protected
array $_posts = array() (line 39)
  • var: Array of Zend_Service_Delicious_Post
  • access: protected
Zend_Service_Delicious $_service (line 44)
  • var: Service that has downloaded the post list
  • access: protected
Methods
Constructor __construct (line 56)
  • access: public
void __construct (Zend_Service_Delicious $service, [DOMNodeList|array $posts = null])
count (line 164)

Return number of posts

Implement Countable::count()

  • access: public
int count ()

Implementation of:
Countable::count
current (line 176)

Return the current element

Implement Iterator::current()

  • access: public

Implementation of:
Iterator::current
key (line 188)

Return the key of the current element

Implement Iterator::key()

  • access: public
int key ()

Implementation of:
Iterator::key
next (line 200)

Move forward to next element

Implement Iterator::next()

  • access: public
void next ()

Implementation of:
Iterator::next
offsetExists (line 242)

Whether the offset exists

Implement ArrayAccess::offsetExists()

  • access: public
bool offsetExists ( $offset)
  • $offset

Implementation of:
ArrayAccess::offsetExists
offsetGet (line 255)

Return value at given offset

Implement ArrayAccess::offsetGet()

  • throws: OutOfBoundsException
  • access: public
Zend_Service_Delicious_SimplePost offsetGet ( $offset)
  • $offset

Implementation of:
ArrayAccess::offsetGet
offsetSet (line 271)

Throws exception because all values are read-only

Implement ArrayAccess::offsetSet()

  • throws: Zend_Service_Delicious_Exception
  • access: public
void offsetSet ( $offset,  $value)
  • $offset
  • $value

Implementation of:
ArrayAccess::offsetSet
offsetUnset (line 287)

Throws exception because all values are read-only

Implement ArrayAccess::offsetUnset()

  • throws: Zend_Service_Delicious_Exception
  • access: public
void offsetUnset ( $offset)
  • $offset

Implementation of:
ArrayAccess::offsetUnset
rewind (line 212)

Rewind the Iterator to the first element

Implement Iterator::rewind()

  • access: public
void rewind ()

Implementation of:
Iterator::rewind
valid (line 224)

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

Implement Iterator::valid()

  • access: public
bool valid ()

Implementation of:
Iterator::valid
withTag (line 133)

Filter list by tag

  • access: public
Zend_Service_Delicious_PostList withTag (string $tag)
  • string $tag
withTags (line 114)

Filter list by list of tags

  • access: public
Zend_Service_Delicious_PostList withTags ( $tags)
  • array $tags
withUrl (line 144)

Filter list by urls matching a regular expression

  • access: public
Zend_Service_Delicious_PostList withUrl (string $regexp)
  • string $regexp
_addPost (line 101)

Add a post

  • access: protected

Documentation generated on Sun, 27 May 2007 23:26:47 -0700 by phpDocumentor 1.3.2