Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Simpy/LinkQuery.php
Go to the documentation of this file.
00001 <?php
00002 
00032 class Zend_Service_Simpy_LinkQuery
00033 {
00039     protected $_query = null;
00040 
00046     protected $_limit = null;
00047 
00053     protected $_date = null;
00054 
00060     protected $_afterDate = null;
00061 
00067     protected $_beforeDate = null;
00068 
00077     public function setQueryString($query)
00078     {
00079         $this->_query = $query;
00080 
00081         return $this;
00082     }
00083 
00089     public function getQueryString()
00090     {
00091         return $this->_query;
00092     }
00093 
00100     public function setLimit($limit)
00101     {
00102         $this->_limit = intval($limit);
00103 
00104         if ($this->_limit == 0) {
00105             $this->_limit = null;
00106         }
00107 
00108         return $this;
00109     }
00110 
00116     public function getLimit()
00117     {
00118         return $this->_limit;
00119     }
00120 
00130     public function setDate($date)
00131     {
00132         $this->_date = $date;
00133         $this->_afterDate = null;
00134         $this->_beforeDate = null;
00135 
00136         return $this;
00137     }
00138 
00144     public function getDate()
00145     {
00146         return $this->_date;
00147     }
00148 
00157     public function setAfterDate($date)
00158     {
00159         $this->_afterDate = $date;
00160         $this->_date = null;
00161 
00162         return $this;
00163     }
00164 
00170     public function getAfterDate()
00171     {
00172         return $this->_afterDate;
00173     }
00174 
00183     public function setBeforeDate($date)
00184     {
00185         $this->_beforeDate = $date;
00186         $this->_date = null;
00187 
00188         return $this;
00189     }
00190 
00196     public function getBeforeDate()
00197     {
00198         return $this->_beforeDate;
00199     }
00200 }
 All Data Structures Namespaces Files Functions Variables Enumerations