|
|
| __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 34 of file sanity_check.php.
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 55 of file sanity_check.php.
| 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 107 of file sanity_check.php.
| SanityChecker::checkExistsTable |
( |
|
$tableName | ) |
|
|
private |
Check if table exists in database
- Parameters
-
| string | $tableName | Name of table to be checked |
- Returns
- int
Definition at line 135 of file sanity_check.php.
The documentation for this class was generated from the following file: