Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/DeveloperGarden/ConferenceCall/ConferenceSchedule.php
Go to the documentation of this file.
00001 <?php
00031 class Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule
00032 {
00036     public $minute = null;
00037 
00041     public $hour = null;
00042 
00046     public $dayOfMonth = null;
00047 
00051     public $month = null;
00052 
00056     public $year = null;
00057 
00061     public $recurring = 0;
00062 
00066     public $notify = 0;
00067 
00073     private $_recurringValues = array(
00074         0 => 'no recurring',
00075         1 => 'hourly',
00076         2 => 'daily',
00077         3 => 'weekly',
00078         4 => 'monthly',
00079     );
00080 
00092     public function __construct($minute, $hour, $dayOfMonth, $month, $year, $recurring = 0, $notify = 0)
00093     {
00094         $this->setMinute($minute)
00095              ->setHour($hour)
00096              ->setDayOfMonth($dayOfMonth)
00097              ->setMonth($month)
00098              ->setYear($year)
00099              ->setRecurring($recurring)
00100              ->setNotify($notify);
00101     }
00102 
00108     public function getMinute()
00109     {
00110         return $this->minute;
00111     }
00112 
00119     public function setMinute($minute)
00120     {
00121         $this->minute = $minute;
00122         return $this;
00123     }
00124 
00130     public function getHour()
00131     {
00132         return $this->hour;
00133     }
00134 
00141     public function setHour($hour)
00142     {
00143         $this->hour = $hour;
00144         return $this;
00145     }
00146 
00152     public function getDayOfMonth()
00153     {
00154         return $this->dayOfMonth;
00155     }
00156 
00163     public function setDayOfMonth($dayOfMonth)
00164     {
00165         $this->dayOfMonth = $dayOfMonth;
00166         return $this;
00167     }
00168 
00174     public function getMonth()
00175     {
00176         return $this->month;
00177     }
00178 
00185     public function setMonth($month)
00186     {
00187         $this->month = $month;
00188         return $this;
00189     }
00190 
00196     public function getYear()
00197     {
00198         return $this->year;
00199     }
00200 
00207     public function setYear($year)
00208     {
00209         $this->year = $year;
00210         return $this;
00211     }
00212 
00218     public function getRecurring()
00219     {
00220         return $this->recurring;
00221     }
00222 
00229     public function setRecurring($recurring)
00230     {
00231         if (!array_key_exists($recurring, $this->_recurringValues)) {
00232             require_once 'Zend/Service/DeveloperGarden/ConferenceCall/Exception.php';
00233             throw new Zend_Service_DeveloperGarden_ConferenceCall_Exception(
00234                 'Unknown ConferenceCall recurring mode.'
00235             );
00236         }
00237         $this->recurring = $recurring;
00238         return $this;
00239     }
00240 
00246     public function getNotify()
00247     {
00248         return $this->notify;
00249     }
00250 
00257     public function setNotify($notify)
00258     {
00259         $this->notify = $notify;
00260         return $this;
00261     }
00262 }
 All Data Structures Namespaces Files Functions Variables Enumerations