<?php namespace Syltaen; class Users extends UsersModel { public function __construct() { parent::__construct(); $this->fields = [ // "key" ]; } // ============================================================================= // > UNIQUE KEY // ============================================================================= /** * Get a user by its user unique key * * @param string $key * @return self */ public function key($key) { return $this->meta("key", $key); } /** * Generate a unique user key * * @return string */ public static function generateKey($prefix = "", $suffix = "") { return $prefix . sha1(microtime(true) . mt_rand(10000, 90000)) . $suffix;
"Declaration of Syltaen\Users::key($key) must be compatible with Syltaen\Model::key()"
Key | Value |
HandLtestDomainNameServer | "HandLtestDomainValueServer"
|
Key | Value |
SERVER_SOFTWARE | "Apache"
|
REQUEST_URI | "/en/privacy-policy"
|
USER | "advachem"
|
HOME | "/home/advachem"
|
SCRIPT_NAME | "/index.php"
|
QUERY_STRING | "" |
REQUEST_METHOD | "GET"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REDIRECT_URL | "/en/privacy-policy"
|
REMOTE_PORT | "21656"
|
SCRIPT_FILENAME | "/home/advachem/public_html/index.php"
|
SERVER_ADMIN | "webmaster@advachem.com"
|
CONTEXT_DOCUMENT_ROOT | "/home/advachem/public_html"
|
CONTEXT_PREFIX | "" |
REQUEST_SCHEME | "http"
|
DOCUMENT_ROOT | "/home/advachem/public_html"
|
REMOTE_ADDR | "172.70.127.65"
|
SERVER_PORT | "80"
|
SERVER_ADDR | "192.168.40.102"
|
SERVER_NAME | "www.advachem.com"
|
SERVER_SIGNATURE | "" |
PATH | "/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
|
HTTP_CF_CONNECTING_IP | "3.14.254.247"
|
HTTP_CONNECTION | "Keep-Alive"
|
HTTP_CDN_LOOP | "cloudflare; loops=1"
|
HTTP_CF_VISITOR | "{\"scheme\":\"http\"}"
|
HTTP_ACCEPT | "*/*"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_X_FORWARDED_PROTO | "http"
|
HTTP_X_FORWARDED_FOR | "3.14.254.247"
|
HTTP_ACCEPT_ENCODING | "gzip"
|
HTTP_CF_IPCOUNTRY | "US"
|
HTTP_HOST | "www.advachem.com"
|
HTTP_COOKIE | "HandLtestDomainNameServer=HandLtestDomainValueServer"
|
HTTP_CF_RAY | "8f5803ef0b3072e2-ORD"
|
proxy-nokeepalive | "1"
|
SCRIPT_URI | "http://www.advachem.com/en/privacy-policy"
|
SCRIPT_URL | "/en/privacy-policy"
|
UNIQUE_ID | "Z2a6Slnc4q6Ye6FIhAPbPgAAAAk"
|
REDIRECT_STATUS | "200"
|
REDIRECT_SCRIPT_URI | "http://www.advachem.com/en/privacy-policy"
|
REDIRECT_SCRIPT_URL | "/en/privacy-policy"
|
REDIRECT_UNIQUE_ID | "Z2a6Slnc4q6Ye6FIhAPbPgAAAAk"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | "1734785610.6873"
|
REQUEST_TIME | "1734785610"
|
argv | [] |
argc | "0"
|