function __construct() { parent::__construct(); $this->rootlink = 'listme'; $this->fix['staff'] = array($this->auth->user()->id); $this->fix['location'] = array(0); $this->fix['filter'] = NULL; // $this->fix['tab'] = 'browse'; // $this->default_params['range'] = 'upcoming'; }
function __construct() { parent::__construct(); $this->rootlink = 'list_toff'; $temp_shift = HC_App::model('shift'); // $this->fix['staff'] = array( $this->auth->user()->id ); // $this->fix['location'] = array( 0 ); // $this->fix['filter'] = NULL; $this->fix['type'] = array($temp_shift->_const('TYPE_TIMEOFF')); $this->fix['tab'] = 'browse'; $this->default_params['range'] = 'upcoming'; }