Searched refs:weekday_num (Results 1 – 1 of 1) sorted by relevance
/plugin/yearbox/ |
H A D | syntax.php | 180 $weekday_num = ($col + $first_weekday) % 7; // current day of week as a number 184 $h = $day_names[$weekday_num]; 237 $weekday_num = ($col + $first_weekday) % 7; // current day of week as a number 240 … if (($cur_day > 0 && $cur_day < $month['len']) || ($col < 7 && $weekday_num == $month['start'])) { 242 … $cal .= $this->getDayHTML($cur_day, $mth_num, $today, $year_num, $weekday_num, $opt); 258 * @param int $weekday_num day of the week 0..6 (0=sunday, 6=saturday) 263 public function getDayHTML($cur_day, $mth_num, $today, $year_num, $weekday_num, $opt) argument 265 if (!$this->isWeekdayToBePrinted($weekday_num, $opt)) { 270 $is_weekend = $weekday_num === 0 || $weekday_num === 6; 293 protected function isWeekdayToBePrinted($weekday_num, $opt) argument [all …]
|