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 /Service/Delicious/Post.php (line 37)

Zend_Service_Delicious_SimplePost
   |
   --Zend_Service_Delicious_Post
Variable Summary
Method Summary
 static array _parsePostNode ( $node)
 Zend_Service_Delicious_Post __construct (Zend_Service_Delicious $service,  $values, array $content)
 void delete ()
 Zend_Date getDate ()
 string getHash ()
 int getOthers ()
 bool getShared ()
 void save ()
Variables
Zend_Date $_date (line 51)
  • var: Post date
  • access: protected
string $_hash (line 59)
  • var: Post hash
  • access: protected
int $_others (line 47)
  • var: Number of people that have the same post
  • access: protected
Zend_Service_Delicious $_service (line 43)

Service that has downloaded the post

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

Extracts content from the DOM element of a post

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

Constructs a new del.icio.us post

  • access: public
Zend_Service_Delicious_Post __construct (Zend_Service_Delicious $service,  $values, array $content)

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

Add a tag

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

Deletes post

  • access: public
void delete ()
getDate (line 157)

Getter for date

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

Getter for hash

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

Getter for others

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

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

Getter for shared

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

Remove a tag

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

Saves post

  • access: public
void save ()
setNotes (line 109)

Setter for notes

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

Setter for shared

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

Setter for tags

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

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 Wed, 21 Feb 2007 12:02:47 -0800 by phpDocumentor 1.3.1