CWIS Developer Documentation
|
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... | |
Class that allows permits easier access to MySQL system variables.
Definition at line 14 of file MysqlSystemVariables.php.
MysqlSystemVariables::__construct | ( | Database | $DB | ) |
Object Constructor.
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().
MysqlSystemVariables::Get | ( | $Variable | ) |
Get the specified MySQL system variable.
string | $Variable | the MySQL system variable to fetch |
Definition at line 35 of file MysqlSystemVariables.php.
Referenced by GetStopWords().
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.
Definition at line 46 of file MysqlSystemVariables.php.
References Get().