$this->load->library('calendar');
$data = array(
date('d') => 'main/showShowtimes',
date('d')+1 => 'main/showShowtimes',
date('d')+2 => 'main/showShowtimes',
date('d')+3 => 'main/showShowtimes'
);
$data['calender'] = $this->calendar->generate(date('Y'), date('m'), $data);
$this->load->view('calender_output', $data);<html> <body> <?php echo $calender?> </body> </html>
개발자가 이미 알고 있는데요? ^^;
$diary
=array(3 =>'http://example.com/news/article/2006/03/',7 =>'http://example.com/news/article/2006/07/',13 =>'http://example.com/news/article/2006/13/',26 =>'http://example.com/news/article/2006/26/');$data['diary'] =$this->calendar->generate(2006, 6,$diary);
좌측 메뉴중에 실행 예제 모음도 한번 보세요.