Lines Matching refs:month
56 * @param int $month Month
59 private static function getEventFile($namespace, $year, $month) { argument
61 return $dir . sprintf('%04d-%02d.json', $year, $month);
69 * @param int $month Month
73 public static function loadMonth($namespace, $year, $month, $useCache = true) { argument
76 $cached = CalendarEventCache::getMonthEvents($namespace, $year, $month);
86 $events = self::loadMonthMultiNamespace($namespace, $year, $month);
88 $eventFile = self::getEventFile($namespace, $year, $month);
94 CalendarEventCache::setMonthEvents($namespace, $year, $month, $events);
105 * @param int $month Month
108 private static function loadMonthMultiNamespace($namespacePattern, $year, $month) { argument
113 $eventFile = self::getEventFile($ns, $year, $month);
215 list(, $year, $month, $day) = $matches;
217 $month = (int)$month;
262 $eventFile = self::getEventFile($namespace, $year, $month);
290 CalendarEventCache::invalidateMonth($namespace, $year, $month);
307 list(, $year, $month, $day) = $matches;
309 $month = (int)$month;
311 $eventFile = self::getEventFile($namespace, $year, $month);
339 CalendarEventCache::invalidateMonth($namespace, $year, $month);
356 list(, $year, $month, $day) = $matches;
358 $events = self::loadMonth($namespace, (int)$year, (int)$month);
384 list(, $year, $month, $day) = $matches;
387 $events = self::loadMonth('*', (int)$year, (int)$month, false);
427 $month = (int)$current->format('m');
429 $events = self::loadMonth($namespace, $year, $month);