timeFormat

Determines the time-text that will be displayed on each event.

array(
// for agendaWeek and agendaDay
'agenda'=> 'h:mm{ - h:mm}', // 5:00 - 6:30

// for all other views
''=> 'h(:mm)t' // 7p
);

A single format string will change the time-text for events in all views. A View Option Hash may be provided to target specific views (this is what the default does).

Time-text will only be displayed for Event Objects that have allDay equal to false.

Here is an example of displaying all events in a 24-hour format:

$eventcal->setOption("timeFormat"=>"H(:mm)");

columnFormat
Determines the text that will be displayed on the calendar's column headings.

array(
'month'=> 'ddd', // Mon
'week'=> 'ddd M/d', // Mon 9/7
'day'=> 'dddd M/d' // Monday 9/7
)
A single string will set the title format for all views. A View Option Hash may be provided to target specific views (this is what the default does).

titleFormat
Determines the text that will be displayed in the header's title.

array(
'month'=> 'MMMM yyyy', // September 2009
'week'=> "MMM d[ yyyy]{ '—'[ MMM] d yyyy}", // Sep 7 - 13 2009
'day'=> 'dddd, MMM d, yyyy' // Tuesday, Sep 8, 2009

)
A single string will set the title format for all views. A View Option Hash may be provided to target specific views (this is what the default does).


buttonText
Text that will be displayed on buttons of the header.

array(
'today'=> 'today',
'month'=> 'month',
'week'=> 'week',
'day'=> 'day'
);


monthNames
Full names of months.

array('January', 'February', 'March', 'April', 'May', 'June', 'July',
'August', 'September', 'October', 'November', 'December');

monthNamesShort
Abbreviated names of months.

array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');

dayNames
Full names of days-of-week.

array('Sunday', 'Monday', 'Tuesday', 'Wednesday',
'Thursday', 'Friday', 'Saturday');

dayNamesShort
Abbreviated names of days-of-week.

array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');