PHPVariableLoader Class Reference

Stuff for handling configuration files in PHP format. More...

List of all members.

Static Public Member Functions

static loadVariableFromPHPFile ($_filename, $_variable)
 Returns a global variable from PHP file by executing the file.

Detailed Description

Stuff for handling configuration files in PHP format.

Definition at line 13 of file ResourceLoader.php.


Member Function Documentation

static PHPVariableLoader::loadVariableFromPHPFile ( _filename,
_variable 
) [static]

Returns a global variable from PHP file by executing the file.

Parameters:
$_filename   String   Path to the file.
$_variable   String   Name of the variable.
Returns:
  Mixed   The variable contents or null.

Definition at line 20 of file ResourceLoader.php.

Referenced by MessageChecker::__construct(), and CoreMessageGroup::load().


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:51 2013 for MediaWiki Translate Extension by  doxygen 1.6.3