MysqlSystemVariables Class Reference

Class that allows permits easier access to MySQL system variables. More...

List of all members.


Public Member Functions

 __construct (Database $DB)
 Object Constructor.
 Get ($Variable)
 Get the specified MySQL system variable.
 GetStopWords ()
 Get the MySQL stopword list the database is using.

Detailed Description

Class that allows permits easier access to MySQL system variables.

Definition at line 6 of file MysqlSystemVariables.php.


Constructor & Destructor Documentation

MysqlSystemVariables::__construct ( Database DB  ) 

Object Constructor.

Parameters:
DB Axis database of which to get the system variables

Definition at line 13 of file MysqlSystemVariables.php.

References Database::Query().


Member Function Documentation

MysqlSystemVariables::Get ( Variable  ) 

Get the specified MySQL system variable.

Parameters:
Variable the MySQL system variable to fetch
Returns:
the value of the variable specified or NULL if non-existent

Definition at line 27 of file MysqlSystemVariables.php.

Referenced by GetStopWords().

Here is the caller graph for this function:

MysqlSystemVariables::GetStopWords (  ) 

Get the MySQL stopword list the database is using.

If the stopword file is unreadable, the default list for MySQL 5 will be returned instead.

Returns:
an array of the stopwords

Definition at line 38 of file MysqlSystemVariables.php.

References Get().


The documentation for this class was generated from the following file: