17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1377 Views |
-
Calendar Module

30 May 2008 at 3:48am Last edited: 30 May 2008 3:49am
Just downloaded this from the trunk. Anyone have any idea how to use it?
-
Re: Calendar Module

4 June 2008 at 2:33pm
Hi,
This calendar module is just a platform which is supposed to be linked later with the events module !
$monthView = new CalendarMonthView( 'name3', 20 );
//$monthView->removeWednesday();
$monthView->showWeekLeft();
$monthView->showWeekRight();
$monthView->startBySunday();
$weekView = new CalendarWeekView( 'name5', $number = 6 );
$weekView->setTimePeriod( new CalendarTimePeriod( new CalendarTime( 8 ), new CalendarTime( 22, 35 ) ));
$weekView->setSubPeriodsLength( new CalendarTime( 0, 45 ) );
$calendar = new Calendar(
$this,
'mycalendar',
array(
//new CalendarDayView( 'name1', 6 ),
/*new CalendarMonthView( 'name3', $number = 2, $month = 6 ),
new CalendarYearView( 'name4', $number = 3 ),*/
//$monthView,
$weekView
)
);
$time1 = new CalendarTime( 22, 48 );
$time2 = new CalendarTime( 23, 58 );
$period = new CalendarTimePeriod( $time1, $time2 );
return $calendar; -
Re: Calendar Module

4 June 2008 at 2:37pm
Interesting. I was actually thinking about contributing an events module. Is that well underway? If so when might we expect it?
| 1377 Views | ||
|
Page:
1
|
Go to Top |

