function init($params = array()) { parent::init($params); $this->before_filter('check_auth'); $this->before_filter('read_prefs'); $this->before_filter('invert_dir'); }
/** * @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')); }