filter('before', 'test-all-before'); $this->filter('after', 'test-all-after'); $this->filter('before', 'test-profile-before')->only(array('profile')); $this->filter('before', 'test-except')->except(array('index', 'profile')); $this->filter('before', 'test-on-post')->on(array('post')); $this->filter('before', 'test-on-get-put')->on(array('get', 'put')); $this->filter('before', 'test-before-filter')->only('login'); $this->filter('after', 'test-before-filter')->only('logout'); $this->filter('before', 'test-param:1,2')->only('edit'); $this->filter('before', 'test-multi-1|test-multi-2')->only('save'); } public function action_index() { return __FUNCTION__; } public function action_profile() { return __FUNCTION__; } public function action_show() { return __FUNCTION__; } public function action_edit() { return __FUNCTION__; } public function action_save() { return __FUNCTION__; } public function action_login() { return __FUNCTION__; } public function action_logout() { return __FUNCTION__; } }