示例#1
0
 function init($params = array())
 {
     parent::init($params);
     $this->before_filter('check_auth');
     $this->before_filter('read_prefs');
     $this->before_filter('invert_dir');
 }
示例#2
0
 /**
  *  @fn init($params)
  *  @short Initializes this controller
  */
 protected function init($params)
 {
     parent::init($params);
     $this->before_filter('check_auth');
     $this->before_filter('read_prefs');
     $this->before_filter('check_favorite');
     $this->before_filter('check_in_portfolio');
 }
 protected function init($params)
 {
     parent::init($params);
     $this->caches_page(array('by_month', 'by_day'));
 }