Lines Matching refs:month
57 * @param int $month Month
60 private static function getEventFile($namespace, $year, $month) { argument
62 return $dir . sprintf('%04d-%02d.json', $year, $month);
70 * @param int $month Month
74 public static function loadMonth($namespace, $year, $month, $useCache = true) { argument
77 $cached = CalendarEventCache::getMonthEvents($namespace, $year, $month);
87 $events = self::loadMonthMultiNamespace($namespace, $year, $month);
89 $eventFile = self::getEventFile($namespace, $year, $month);
95 CalendarEventCache::setMonthEvents($namespace, $year, $month, $events);
106 * @param int $month Month
109 private static function loadMonthMultiNamespace($namespacePattern, $year, $month) { argument
114 $eventFile = self::getEventFile($ns, $year, $month);
216 list(, $year, $month, $day) = $matches;
218 $month = (int)$month;
263 $eventFile = self::getEventFile($namespace, $year, $month);
291 CalendarEventCache::invalidateMonth($namespace, $year, $month);
308 list(, $year, $month, $day) = $matches;
310 $month = (int)$month;
312 $eventFile = self::getEventFile($namespace, $year, $month);
340 CalendarEventCache::invalidateMonth($namespace, $year, $month);
357 list(, $year, $month, $day) = $matches;
359 $events = self::loadMonth($namespace, (int)$year, (int)$month);
385 list(, $year, $month, $day) = $matches;
388 $events = self::loadMonth('*', (int)$year, (int)$month, false);
428 $month = (int)$current->format('m');
430 $events = self::loadMonth($namespace, $year, $month);