protected function init($args)
 {
     parent::init($args);
     if (isset($args['CATEGORY_FILTER_FIELD'])) {
         $this->categoryFilter = $args['CATEGORY_FILTER_FIELD'];
     }
 }
 protected function init($args)
 {
     parent::init($args);
     if (isset($args['USER'])) {
         $this->setUser($args['USER']);
     }
 }
 protected function init($args)
 {
     parent::init($args);
     //either get the specified authority or attempt to get a GoogleApps authority
     $authorityIndex = isset($args['AUTHORITY']) ? $args['AUTHORITY'] : 'GoogleAppsAuthentication';
     $authority = AuthenticationAuthority::getAuthenticationAuthority($authorityIndex);
     //make sure we're getting a google apps authority
     if ($authority instanceof GoogleAppsAuthentication) {
         $this->authority = $authority;
     }
     $this->addStandardFilters();
 }