Functions

DBAuthManager.php File Reference

Go to the source code of this file.

Functions

 getConnection ()
 Provides the credentials to connect to the DBMS.
 getPrefixID ()
 Provides the DB prefix ID.

Function Documentation

getConnection (  ) 

Provides the credentials to connect to the DBMS.

Returns:
The credentials.

Hard-coded in PHP code for security purposes.

Author:
Alexandre Trilla (atrilla)

Definition at line 45 of file DBAuthManager.php.

Referenced by MultinomialNaiveBayes::classify(), and MultinomialNaiveBayes::save().

getPrefixID (  ) 

Provides the DB prefix ID.

Returns:
The prefix ID.
Author:
Alexandre Trilla (atrilla)

Definition at line 55 of file DBAuthManager.php.

Referenced by MultinomialNaiveBayes::setDatabase().