Ejemplo n.º 1
0
 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';
 }
Ejemplo n.º 2
0
 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';
 }