Chuyển đến nội dung
Tài liệu

Tra cứu lớp và hàm

Calendar

Danh sách các phương thức công khai của lớp Zittme\Framework\Calendar. Tài liệu này được tạo tự động từ mã nguồn lõi Zittme.

Nguồn: common/framework/Calendar.php

Phương thức công khai

  • static function getMonthName(int $month_number, bool $long_format = true)
  • This method returns the English name of a month, e.g. 9 = 'September'.
  • static function getMonthStartDayOfWeek(int $month_number, ?int $year = null)
  • This method returns the day on which a month begins.
  • static function getMonthDays(int $month_number, ?int $year = null)
  • This method returns the number of days in a month, e.g. February 2016 has 29 days.
  • static function getMonthCalendar(int $month_number, ?int $year = null, int $start_dow = 0)
  • This method returns a complete calendar for a month.