diff -r 000000000000 -r 4eba9c11703f web/Zend/Service/Delicious/SimplePost.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Service/Delicious/SimplePost.php Mon Dec 13 18:29:26 2010 +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; + } +}