Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Technorati/TagResult.php
Go to the documentation of this file.
00001 <?php
00027 require_once 'Zend/Service/Technorati/Result.php';
00028 
00029 
00041 class Zend_Service_Technorati_TagResult extends Zend_Service_Technorati_Result
00042 {
00049     protected $_weblog;
00050 
00057     protected $_title;
00058 
00065     protected $_excerpt;
00066 
00073     protected $_created;
00074 
00083     protected $_updated;
00084 
00091     protected $_permalink;
00092 
00093 
00099     public function __construct(DomElement $dom)
00100     {
00101         $this->_fields = array( '_permalink'    => 'permalink',
00102                                 '_excerpt'      => 'excerpt',
00103                                 '_created'      => 'created',
00104                                 '_updated'      => 'postupdate',
00105                                 '_title'        => 'title');
00106         parent::__construct($dom);
00107 
00108         // weblog object field
00109         $this->_parseWeblog();
00110 
00111         // filter fields
00112         $this->_permalink = Zend_Service_Technorati_Utils::normalizeUriHttp($this->_permalink);
00113         $this->_created = Zend_Service_Technorati_Utils::normalizeDate($this->_created);
00114         $this->_updated = Zend_Service_Technorati_Utils::normalizeDate($this->_updated);
00115     }
00116 
00122     public function getWeblog() {
00123         return $this->_weblog;
00124     }
00125 
00131     public function getTitle() {
00132         return $this->_title;
00133     }
00134 
00140     public function getExcerpt() {
00141         return $this->_excerpt;
00142     }
00143 
00149     public function getCreated() {
00150         return $this->_created;
00151     }
00152 
00158     public function getUpdated() {
00159         return $this->_updated;
00160     }
00161 
00167     public function getPermalink() {
00168         return $this->_permalink;
00169     }
00170 
00171 }
 All Data Structures Namespaces Files Functions Variables Enumerations