|
| __construct (&$dbManager, $verbose) |
|
| check () |
| Check the sanity of decision, upload status, License Event types license_candidate table and ensures Top level folder for each user. More...
|
|
|
| $dbManager |
|
| $verbose |
|
| $errors = 0 |
|
of the database
Definition at line 23 of file sanity_check.php.
◆ check()
Check the sanity of decision, upload status, License Event types license_candidate table and ensures Top level folder for each user.
- Returns
- int error code; 0 on success
Definition at line 44 of file sanity_check.php.
◆ checkDatabaseEnum()
SanityChecker::checkDatabaseEnum |
( |
|
$tablename, |
|
|
|
$columnname, |
|
|
|
$map |
|
) |
| |
|
private |
Check if every values in given column are values from the given map.
- Parameters
-
string | $tablename | Table in which the values have to be looked upon |
string | $columnname | Name of column to check values |
array | $map | using keys |
- Returns
- int
Definition at line 96 of file sanity_check.php.
◆ checkExistsTable()
SanityChecker::checkExistsTable |
( |
|
$tableName | ) |
|
|
private |
@biref Check if table exists in database
- Parameters
-
string | $tableName | Name of table to be checked |
- Returns
- int
Definition at line 124 of file sanity_check.php.
The documentation for this class was generated from the following file: