public function __construct($dbo = NULL, $useDate = NULL)
 {
     parent::__construct($dbo);
     if (isset($userDate)) {
         $this->_userDate = $userDate;
     } else {
         $this->_userDate = date('Y-m-d H:i:s');
     }
     $ts = strtotime($this->_useDate);
     $this->_m = date('m', $ts);
     $this->_y = date('y', $ts);
     $this->_daysInMonth = cal_days_in_month(CAL_GREGORIAN, $this->_m, $this->_y);
     $ts = mktime(0, 0, 0, $this->_m, 1, $this->_y);
     $this->_startDay = date('w', $ts);
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 3
0
 /**
  * Calls the parent constructor to create a PDO object
  *
  * @return void
  */
 protected function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->refreshNames();
 }
Exemplo n.º 5
0
 public function __construct($cfg)
 {
     parent::__construct($cfg);
     $this->ltitle = "Групи";
 }
Exemplo n.º 6
0
 public function __construct($cfg)
 {
     parent::__construct($cfg);
     $this->ltitle = "Факультеты";
 }