uid = $uid; $this->username = $username; $this->failedlogins = $failedlogins; $this->aclArray = $aclArray; $this->lastip = $lastip; $this->currentip = $currentip; } public function getAccessLevel($language) { global $ACL_ACCESS_NOBODY; global $ACL_ACCESS_NOBODY_VERIFIED; global $ACL_ACCESS_ADMIN_LOW; global $ACL_ACCESS_ADMIN_HIGH; $access = $this->aclArray[$language]; if (($access != $ACL_ACCESS_NOBODY_VERIFIED) && ($access != $ACL_ACCESS_ADMIN_LOW) && ($access != $ACL_ACCESS_ADMIN_HIGH)) { $access = $ACL_ACCESS_NOBODY; } return $access; } public function getUID() { return $this->uid; } public function getFailedLogins() { return $this->failedlogins; } public function getLastIP() { return $this->lastip; } public function getCurrentIP() { return $this->currentip; } public function getACLArray() { return $this->aclArray; } } ?>