public static function SuperGlobalVariables::get in Anti Spam by CleanTalk 9.1.x
Same name and namespace in other branches
- 8.4 src/lib/Cleantalk/Common/Variables/SuperGlobalVariables.php \Cleantalk\Common\Variables\SuperGlobalVariables::get()
* Gets variable from ${_SOMETHING} * *
Parameters
string $name Variable name: * * @return string
7 calls to SuperGlobalVariables::get()
- Server::getHomeURL in src/
lib/ Cleantalk/ Common/ Variables/ Server.php - Server::getURL in src/
lib/ Cleantalk/ Common/ Variables/ Server.php - Server::get_domain in src/
lib/ Cleantalk/ Common/ Variables/ Server.php - Server::isSSL in src/
lib/ Cleantalk/ Common/ Variables/ Server.php - Determines if SSL is used.
- Server::is_post in src/
lib/ Cleantalk/ Common/ Variables/ Server.php - * Checks if $_SERVER['REQUEST_URI'] contains string * *
File
- src/
lib/ Cleantalk/ Common/ Variables/ SuperGlobalVariables.php, line 33
Class
- SuperGlobalVariables
- Class ServerVariables Safety handler for ${_SOMETHING}
Namespace
Cleantalk\Common\VariablesCode
public static function get($name) {
return static::getInstance()
->get_variable($name);
}