[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/Delicious/ -> Post.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: 292 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Service_Delicious_Post:: (14 methods):
  __construct()
  setTitle()
  setNotes()
  setTags()
  addTag()
  removeTag()
  getDate()
  getOthers()
  getHash()
  getShared()
  setShared()
  delete()
  save()
  _parsePostNode()


Class: Zend_Service_Delicious_Post  - X-Ref

Zend_Service_Delicious_Post represents a post of a user that can be edited

__construct(Zend_Service_Delicious $service, $values)   X-Ref
Constructs a new del.icio.us post

param: Zend_Service_Delicious $service Service that has downloaded the post
param: DOMElement|array       $values  Post content
return: void

setTitle($newTitle)   X-Ref
Setter for title

param: string $newTitle
return: Zend_Service_Delicious_Post

setNotes($newNotes)   X-Ref
Setter for notes

param: string $newNotes
return: Zend_Service_Delicious_Post

setTags(array $tags)   X-Ref
Setter for tags

param: array $tags
return: Zend_Service_Delicious_Post

addTag($tag)   X-Ref
Add a tag

param: string $tag
return: Zend_Service_Delicious_Post

removeTag($tag)   X-Ref
Remove a tag

param: string $tag
return: Zend_Service_Delicious_Post

getDate()   X-Ref
Getter for date

return: Zend_Date

getOthers()   X-Ref
Getter for others

This property is only populated when posts are retrieved
with getPosts() method. The getAllPosts() and getRecentPosts()
methods will not populate this property.

return: int

getHash()   X-Ref
Getter for hash

return: string

getShared()   X-Ref
Getter for shared

return: bool

setShared($isShared)   X-Ref
Setter for shared

param: bool $isShared
return: Zend_Service_Delicious_Post

delete()   X-Ref
Deletes post

return: Zend_Service_Delicious

save()   X-Ref
Saves post

return: DOMDocument

_parsePostNode(DOMElement $node)   X-Ref
Extracts content from the DOM element of a post

param: DOMElement $node
return: array



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