You are here

protected function SuperGlobalVariables::get_variable in Anti Spam by CleanTalk 9.1.x

Same name and namespace in other branches
  1. 8.4 src/lib/Cleantalk/Common/Variables/SuperGlobalVariables.php \Cleantalk\Common\Variables\SuperGlobalVariables::get_variable()

* BLUEPRINT * Gets given ${_SOMETHING} variable and seva it to memory *

Parameters

$name: * * @return mixed|string

5 methods override SuperGlobalVariables::get_variable()
Cookie::get_variable in src/lib/Cleantalk/Common/Variables/Cookie.php
* Gets given $_COOKIE variable and save it to memory *
Get::get_variable in src/lib/Cleantalk/Common/Variables/Get.php
* Gets given $_GET variable and save it to memory * *
Post::get_variable in src/lib/Cleantalk/Common/Variables/Post.php
* Gets given $_POST variable and save it to memory *
Request::get_variable in src/lib/Cleantalk/Common/Variables/Request.php
* Gets given $_REQUEST variable and save it to memory *
Server::get_variable in src/lib/Cleantalk/Common/Variables/Server.php
* Gets given $_SERVER variable and save it to memory * *

File

src/lib/Cleantalk/Common/Variables/SuperGlobalVariables.php, line 44

Class

SuperGlobalVariables
Class ServerVariables Safety handler for ${_SOMETHING}

Namespace

Cleantalk\Common\Variables

Code

protected function get_variable($name) {
  return true;
}