Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 505 Bytes
<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Calendar extends Controller
public function action_index()
$calendar = new Calendar(Arr::get($_GET, 'month', date('m')), Arr::get($_GET, 'year', date('Y')));
->condition('timestamp', time())
->output(html::anchor('', 'google'))
$data = array(
'content' => $calendar->render()
$this->request->response = new View('index', $data);
Jump to Line
Something went wrong with that request. Please try again.