diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Service/Delicious/SimplePost.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/Delicious/SimplePost.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,123 @@ +_url = $post['u']; + $this->_title = $post['d']; + + if (isset($post['t'])) { + $this->_tags = $post['t']; + } + if (isset($post['n'])) { + $this->_notes = $post['n']; + } + } + + /** + * Getter for URL + * + * @return string + */ + public function getUrl() + { + return $this->_url; + } + + /** + * Getter for title + * + * @return string + */ + public function getTitle() + { + return $this->_title; + } + + /** + * Getter for notes + * + * @return string + */ + public function getNotes() + { + return $this->_notes; + } + + /** + * Getter for tags + * + * @return array + */ + public function getTags() + { + return $this->_tags; + } +}