class \mpf\helpers\Calendar

class \mpf\helpers\Calendar

-no description found-

Attributes
public mixed $month

-no description found-

public mixed $year

-no description found-

public mixed $firstDayString

-no description found-

public mixed $firstDayTime

-no description found-

public mixed $dayClass

-no description found-

public mixed $dayAttributesCallbacks

-no description found-

protected mixed $_weeks

-no description found-

Methods

public static mixed get (mixed $month, mixed $year, mixed $dayAttributesCallbacks = [])

  • $month

    -no description found-

  • $year

    -no description found-

  • $dayAttributesCallbacks

    -no description found-

-no description found-

public string getMonthName ()

Get name of the current month

protected mixed init (mixed $config)

  • $config

    -no description found-

-no description found-

protected mixed _calcWeeks ()

-no description found-

public \mpf\helpers\CalendarDay[] getWeek (int $number)

  • $number

    -no description found-

Week number starts with 1;

public int getNumberOfWeeks ()

-no description found-

public int getNumberOfDays ()

Get the number of days for this month

protected bool getPrevMonthDays ()

Remove some seconds from first day time

public mixed next ()

-no description found-

public mixed previous ()

-no description found-