Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Technorati/SearchResult.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_SearchResult extends Zend_Service_Technorati_Result
00042 {
00049     protected $_weblog;
00050 
00057     protected $_title;
00058 
00065     protected $_excerpt;
00066 
00073     protected $_created;
00074 
00081     protected $_permalink;
00082 
00083 
00089     public function __construct(DomElement $dom)
00090     {
00091         $this->_fields = array( '_permalink'    => 'permalink',
00092                                 '_excerpt'      => 'excerpt',
00093                                 '_created'      => 'created',
00094                                 '_title'        => 'title');
00095         parent::__construct($dom);
00096 
00097         // weblog object field
00098         $this->_parseWeblog();
00099 
00100         // filter fields
00101         $this->_permalink = Zend_Service_Technorati_Utils::normalizeUriHttp($this->_permalink);
00102         $this->_created = Zend_Service_Technorati_Utils::normalizeDate($this->_created);
00103     }
00104 
00110     public function getWeblog() {
00111         return $this->_weblog;
00112     }
00113 
00119     public function getTitle() {
00120         return $this->_title;
00121     }
00122 
00128     public function getExcerpt() {
00129         return $this->_excerpt;
00130     }
00131 
00137     public function getCreated() {
00138         return $this->_created;
00139     }
00140 
00146     public function getPermalink() {
00147         return $this->_permalink;
00148     }
00149 
00150 }
 All Data Structures Namespaces Files Functions Variables Enumerations