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

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

Service that has downloaded the post

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

Extracts content from the DOM element of a post

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

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

Add a tag

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

Deletes post

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

Getter for date

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

Getter for hash

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

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

Getter for shared

  • access: public
bool getShared ()
save (line 207)

Saves post

  • access: public
void save ()
setDate (line 149)

Setter for date

  • access: public
Zend_Service_Delicious_Post setDate ( $date)
  • Zend_Date $date
setNotes (line 104)

Setter for notes

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

Setter for shared

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

Setter for tags

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

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 Thu, 18 Jan 2007 10:01:12 -0800 by phpDocumentor 1.3.1