Class Zend_Service_Delicious_Post

Description

Zend_Service_Delicious_Post represents a post of a user that can be edited

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

Located in /Service/Delicious/Post.php (line 45)

Zend_Service_Delicious_SimplePost
   |
   --Zend_Service_Delicious_Post
Variable Summary
Method Summary
 static array _parsePostNode ( $node)
 void __construct (Zend_Service_Delicious $service, DOMElement|array $values)
 string getHash ()
 int getOthers ()
 bool getShared ()
 DOMDocument save ()
Variables
Zend_Date $_date (line 62)
  • var: Post date
  • access: protected
string $_hash (line 72)
  • var: Post hash
  • access: protected
int $_others (line 57)
  • var: Number of people that have the same post
  • access: protected
Zend_Service_Delicious $_service (line 52)

Service that has downloaded the post

  • access: protected
bool $_shared = true (line 67)
  • var: Post share
  • access: protected

Inherited Variables

Inherited from Zend_Service_Delicious_SimplePost

Zend_Service_Delicious_SimplePost::$_notes
Zend_Service_Delicious_SimplePost::$_tags
Zend_Service_Delicious_SimplePost::$_title
Zend_Service_Delicious_SimplePost::$_url
Methods
static _parsePostNode (line 281)

Extracts content from the DOM element of a post

  • access: protected
static array _parsePostNode ( $node)
  • DOMElement $node
Constructor __construct (line 82)

Constructs a new del.icio.us post

  • throws: Zend_Service_Delicious_Exception
  • access: public
void __construct (Zend_Service_Delicious $service, DOMElement|array $values)
  • Zend_Service_Delicious $service: Service that has downloaded the post
  • DOMElement|array $values: Post content

Redefinition of:
Zend_Service_Delicious_SimplePost::__construct()
Constructor
addTag (line 164)

Add a tag

  • access: public
Zend_Service_Delicious_Post addTag (string $tag)
  • string $tag
delete (line 246)

Deletes post

  • access: public
getDate (line 189)

Getter for date

  • access: public
Zend_Date getDate ()
getHash (line 213)

Getter for hash

  • access: public
string getHash ()
getOthers (line 203)

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.

  • access: public
int getOthers ()
getShared (line 223)

Getter for shared

  • access: public
bool getShared ()
removeTag (line 177)

Remove a tag

  • access: public
Zend_Service_Delicious_Post removeTag (string $tag)
  • string $tag
save (line 256)

Saves post

  • access: public
DOMDocument save ()
setNotes (line 138)

Setter for notes

  • access: public
Zend_Service_Delicious_Post setNotes (string $newNotes)
  • string $newNotes
setShared (line 234)

Setter for shared

  • access: public
Zend_Service_Delicious_Post setShared (bool $isShared)
  • bool $isShared
setTags (line 151)

Setter for tags

  • access: public
Zend_Service_Delicious_Post setTags ( $tags)
  • array $tags
setTitle (line 125)

Setter for title

  • access: public
Zend_Service_Delicious_Post setTitle (string $newTitle)
  • string $newTitle

Inherited Methods

Inherited From Zend_Service_Delicious_SimplePost

 Zend_Service_Delicious_SimplePost::__construct()
 Zend_Service_Delicious_SimplePost::getNotes()
 Zend_Service_Delicious_SimplePost::getTags()
 Zend_Service_Delicious_SimplePost::getTitle()
 Zend_Service_Delicious_SimplePost::getUrl()

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