/** * Filter AuthAccessPermissions * * @ActionDefinition( layout='auth_layout.tpl', zone='content:access_permissions_display;', propel ) */ public function filter () { $response = AuthAccessPermissionsBss::filter( $this->request ); if ( is_array( $response ) ) { $this->response->vars = $_SERVER['QUERY_STRING']; $this->response->pager = $response['pager']; $this->response->list = $response['data']; // get reference's content for auth_access_profiles $auth_access_profiles = AuthAccessProfilesBss::getAll( $this->request ); $this->response->auth_access_profiles = $auth_access_profiles['data']; } else { $this->response->exception = $response; $list = AuthAccessPermissionsBss::getAll( $this->request ); $this->response->list = $list['pager']; $this->response->data = $list['data']; } }
/** * Filter AuthAccessProfiles * * @ActionDefinition( layout='auth_layout.tpl', zone='content:access_profiles_display;', propel ) */ public function filter () { $response = AuthAccessProfilesBss::filter( $this->request ); if ( is_array( $response ) ) { $this->response->vars = $_SERVER['QUERY_STRING']; $this->response->pager = $response['pager']; $this->response->list = $response['data']; } else { $this->response->exception = $response; $list = AuthAccessProfilesBss::getAll( $this->request ); $this->response->list = $list['pager']; $this->response->data = $list['data']; } }