PHP Class PMA\libraries\controllers\server\ServerVariablesController

Inheritance: extends PMA\libraries\controllers\Controller
Show file Open project: phpmyadmin/phpmyadmin

Protected Properties

Property Type Description
$variable_doc_links Documentation links for variables

Public Methods

Method Description
__construct ( ) Constructs ServerVariablesController
getValueAction ( ) : void Handle the AJAX request for a single variable value
indexAction ( ) : void Index action
setValueAction ( ) : void Handle the AJAX request for setting value for a single variable

Private Methods

Method Description
_formatVariable ( string $name, integer $value ) : array Format Variable
_getDocumentLinks ( ) : array Returns Array of documentation links
_getHtmlForLinkTemplates ( ) : string Prints link templates
_getHtmlForServerVariables ( array $serverVars, array $serverVarsSession ) : string Prints Html for Server Variables
_getHtmlForServerVariablesItems ( array $serverVars, array $serverVarsSession ) : string Prints Html for Server Variables Items
_getStaticSystemVariables ( ) : array Returns array of static(i.e. non-editable/ read-only) global system variables

Method Details

__construct() public method

Constructs ServerVariablesController
public __construct ( )

getValueAction() public method

Handle the AJAX request for a single variable value
public getValueAction ( ) : void
return void

indexAction() public method

Index action
public indexAction ( ) : void
return void

setValueAction() public method

Handle the AJAX request for setting value for a single variable
public setValueAction ( ) : void
return void

Property Details