name = $name; $this->authLevel = $authLevel; $this->haveCharacterId = $haveCharacterId; } public function canShow() { global $authLevel; return $this->authLevel <= $authLevel; } }