[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/Delicious/ -> PostList.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 300 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Service_Delicious_PostList:: (17 methods):
  __construct()
  _constructFromNodeList()
  _constructFromArray()
  _addPost()
  withTags()
  withTag()
  withUrl()
  count()
  current()
  key()
  next()
  rewind()
  valid()
  offsetExists()
  offsetGet()
  offsetSet()
  offsetUnset()


Class: Zend_Service_Delicious_PostList  - X-Ref

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

__construct(Zend_Service_Delicious $service, $posts = null)   X-Ref

param: Zend_Service_Delicious $service Service that has downloaded the post
param: DOMNodeList|array      $posts
return: void

_constructFromNodeList(DOMNodeList $nodeList)   X-Ref
Transforms DOMNodeList to array of posts

param: DOMNodeList $nodeList
return: void

_constructFromArray(array $postList)   X-Ref
Transforms the Array to array of posts

param: array $postList
return: void

_addPost(Zend_Service_Delicious_SimplePost $post)   X-Ref
Add a post

param: Zend_Service_Delicious_SimplePost $post
return: Zend_Service_Delicious_PostList

withTags(array $tags)   X-Ref
Filter list by list of tags

param: array $tags
return: Zend_Service_Delicious_PostList

withTag($tag)   X-Ref
Filter list by tag

param: string $tag
return: Zend_Service_Delicious_PostList

withUrl($regexp)   X-Ref
Filter list by urls matching a regular expression

param: string $regexp
return: Zend_Service_Delicious_PostList

count()   X-Ref
Return number of posts

Implement Countable::count()

return: int

current()   X-Ref
Return the current element

Implement Iterator::current()

return: Zend_Service_Delicious_SimplePost

key()   X-Ref
Return the key of the current element

Implement Iterator::key()

return: int

next()   X-Ref
Move forward to next element

Implement Iterator::next()

return: void

rewind()   X-Ref
Rewind the Iterator to the first element

Implement Iterator::rewind()

return: void

valid()   X-Ref
Check if there is a current element after calls to rewind() or next()

Implement Iterator::valid()

return: bool

offsetExists($offset)   X-Ref
Whether the offset exists

Implement ArrayAccess::offsetExists()

param: int     $offset
return: bool

offsetGet($offset)   X-Ref
Return value at given offset

Implement ArrayAccess::offsetGet()

param: int     $offset
return: Zend_Service_Delicious_SimplePost

offsetSet($offset, $value)   X-Ref
Throws exception because all values are read-only

Implement ArrayAccess::offsetSet()

param: int     $offset
param: string  $value

offsetUnset($offset)   X-Ref
Throws exception because all values are read-only

Implement ArrayAccess::offsetUnset()

param: int     $offset



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1