/**
  * @see Page::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     // get available letters
     $defaultLetters = WCF::getLanguage()->get('wcf.user.membersList.letters');
     if (!empty($defaultLetters) && $defaultLetters != 'wcf.user.membersList.letters') {
         self::$defaultLetters = $defaultLetters;
     }
     // get user options
     $this->userOptions = new UserOptions('medium');
     // letter
     if (isset($_REQUEST['letter']) && StringUtil::length($_REQUEST['letter']) == 1 && StringUtil::indexOf(self::$defaultLetters, $_REQUEST['letter']) !== false) {
         $this->letter = $_REQUEST['letter'];
     }
     // active fields
     $this->activeFields = explode(',', MEMBERS_LIST_COLUMNS);
     if (MODULE_AVATAR != 1 && ($key = array_search('avatar', $this->activeFields)) !== false) {
         unset($this->activeFields[$key]);
     }
     // search id
     if (isset($_REQUEST['searchID'])) {
         $this->searchID = intval($_REQUEST['searchID']);
         if ($this->searchID != 0) {
             $this->getSearchResult();
         }
     }
 }
 /**
  * @see Page::show()
  */
 public function show()
 {
     if (MODULE_TEAM_LIST != 1) {
         throw new IllegalLinkException();
     }
     parent::show();
 }
 /**
  * @see Page::readData()
  */
 public function readData()
 {
     parent::readData();
     if (!count($this->members)) {
         throw new IllegalLinkException();
     }
 }
 /**
  * @see Page::assignVariables()
  */
 public function assignVariables()
 {
     AbstractForm::assignVariables();
     WCF::getTPL()->assign(array('staticParameters' => $this->staticParameters, 'matchExactly' => $this->matchExactly, 'options' => $this->options, 'optionCategories' => $this->categories, 'hasFriends' => MembersListPage::hasFriends()));
 }