Class Zend_Service_Delicious_Post

Description

Zend_Service_Delicious is a concrete implementation of the del.icio.us web service

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

Located in /Zend/Service/Delicious/Post.php (line 40)

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 57)
  • var: Post date
  • access: protected
string $_hash (line 67)
  • var: Post hash
  • access: protected
int $_others (line 52)
  • var: Number of people that have the same post
  • access: protected
Zend_Service_Delicious $_service (line 47)

Service that has downloaded the post

  • access: protected
bool $_shared = true (line 62)
  • 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 276)

Extracts content from the DOM element of a post

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

Constructs a new del.icio.us post

  • access: public
  • throws: Zend_Service_Delicious_Exception
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 159)

Add a tag

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

Deletes post

  • access: public
getDate (line 184)

Getter for date

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

Getter for hash

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

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 218)

Getter for shared

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

Remove a tag

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

Saves post

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

Setter for notes

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

Setter for shared

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

Setter for tags

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

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 Fri, 06 Apr 2007 18:30:02 -0700 by phpDocumentor 1.3.1