boolean build(
[array
$sDates = array()], [int
$firstDay = null])
|
|
Builds the Months of the Year.
Note: by defining the constant CALENDAR_MONTH_STATE you can control what class of Calendar_Month is built e.g.; require_once 'Calendar/Calendar_Year.php';
define ('CALENDAR_MONTH_STATE',CALENDAR_USE_MONTH_WEEKDAYS
);
// Use Calendar_Month_Weekdays
// define ('CALENDAR_MONTH_STATE',CALENDAR_USE_MONTH_WEEKS); // Use Calendar_Month_Weeks
// define ('CALENDAR_MONTH_STATE',CALENDAR_USE_MONTH); // Use Calendar_Month
It defaults to building Calendar_Month objects.
Overrides
Calendar::build() (Abstract method for building the children of a calendar object.)
Parameters: