You are here

public function ServicesContextInterface::getServerVariable in Services 7.3

1 method overrides ServicesContextInterface::getServerVariable()
ServicesContext::getServerVariable in servers/rest_server/includes/ServicesContext.inc
Access to $_SERVER variables.

File

servers/rest_server/includes/ServicesContext.inc, line 14

Class

ServicesContextInterface
ServicesContext object is for storing all global variables. The idea is to prevent RESTServer from accessing global variables directly and get them only from Context.

Code

public function getServerVariable($variable_name);