home
api
develop
badge
wallpaper
rhaco.org
PHP library & setup framework
lingr
bugs
jaja
arbo
rhaco_1_x
arbo rev. 34
branches/generic/views/Rhacket/model/LineCalendar.php
Rhacketα版
34: Rhacketα版
year = date("Y",$time); $this->month = date("M",$time); } function draw($rtid,&$formatter,&$request){ $cal = <<< __CALENDAR
{\$_calendar_day}
|
__CALENDAR; $formatter->html($rtid,$cal); $request->setVariable("_calendar_days",$this->getDays()); } function getDays(){ return array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31); } } ?>