Пример #1
0
 /**
  * Slot object
  *
  * @param int $id
  * @param int $year
  * @param int $month
  * @param int $day
  * @param int $hour
  * @param int $minute
  */
 public function __construct($id, $year, $month, $day, $hour, $minute = 0)
 {
     $this->_id = $id;
     parent::__construct($year, $month, $day, $hour, $minute);
 }
Пример #2
0
 /**
  * Slot object
  *
  * @param int $places
  * @param int $year
  * @param int $month
  * @param int $day
  * @param int $hour
  * @param int $minute
  */
 public function __construct($places, $year, $month, $day, $hour, $minute = 0)
 {
     $this->_places = $places;
     parent::__construct($year, $month, $day, $hour, $minute);
 }