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); }
public function __construct() { parent::__construct(); }
/** * Calls the parent constructor to create a PDO object * * @return void */ protected function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->refreshNames(); }
public function __construct($cfg) { parent::__construct($cfg); $this->ltitle = "Групи"; }
public function __construct($cfg) { parent::__construct($cfg); $this->ltitle = "Факультеты"; }