CWIS Developer Documentation

- Home
- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
MysqlSystemVariables Class Reference

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

## Public Member Functions
| __construct (Database $DB)
| Object Constructor. More...
| Get ($Variable)
| Get the specified MySQL system variable. More...
| GetStopWords ()
| Get the MySQL stopword list the database is using. More...

## Detailed Description

Class that allows permits easier access to MySQL system variables.

Definition at line 14 of file MysqlSystemVariables.php.

## Constructor & Destructor Documentation

MysqlSystemVariables::__construct | ( | Database | $DB | ) |

Object Constructor.

Parameters

  Database | $DB | Axis database of which to get the system variables

Definition at line 21 of file MysqlSystemVariables.php.

References Database\FetchRow(), and Database\Query().

## Member Function Documentation

MysqlSystemVariables::Get | ( |  | $Variable | ) |

Get the specified MySQL system variable.

Parameters

  string | $Variable | the MySQL system variable to fetch

Returns
  the value of the variable specified or NULL if non-existent

Definition at line 35 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 46 of file MysqlSystemVariables.php.

References Get().

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

- objects/MysqlSystemVariables.php