Example:
~~~
print_r(Enum::monthList());
print_r(Enum::monthList(true, 4, 'upper'));
~~~
public static monthList ( boolean $abbr = false, integer $start = 1, string $case = null ) : array | ||
$abbr | boolean | whether to return abbreviated month |
$start | integer | the first month to set. Defaults to `1` for `January`. |
$case | string | whether 'upper', lower', or null. If null, then the initcap case will be used. |
Résultat | array | list of months |