Ubiquity 2.5.2
php rapid development framework
|
Public Member Functions | |
__construct (string $dbOffset='default') | |
checkDatabase () | |
getNonExistingTables () | |
tableExists (string $table) | |
checkAll () | |
hasErrors () | |
getResultDatabaseNotExist () | |
getResultNonExistingTables () | |
getResultUpdatedFields () | |
getResultPrimaryKeys () | |
getResultManyToOne () | |
getResultManyToMany () | |
getUpdatedFields (string $model) | |
concatArrayKeyValue (array $array, callable $callable, string $sep=',') | |
checkPrimaryKeys (string $model) | |
checkManyToOne (string $model) | |
checkManyToMany (string $model) | |
getDb () | |
displayAll (callable $displayCallable) | |
Private Member Functions | |
_getNonExistingTables () | |
checkFk ($table, $fkField, $fkTable, $fkId) | |
Private Attributes | |
string | $dbOffset |
$databaseExist | |
Database | $db |
array | $models = null |
array | $metadatas = null |
array | $nonExistingTables = null |
array | $checkResults = null |
Definition at line 21 of file DatabaseChecker.php.
__construct | ( | string | $dbOffset = 'default' | ) |
Definition at line 37 of file DatabaseChecker.php.
|
private |
Definition at line 71 of file DatabaseChecker.php.
checkAll | ( | ) |
Definition at line 79 of file DatabaseChecker.php.
checkDatabase | ( | ) |
Definition at line 45 of file DatabaseChecker.php.
|
private |
Definition at line 227 of file DatabaseChecker.php.
checkManyToMany | ( | string | $model | ) |
Definition at line 251 of file DatabaseChecker.php.
checkManyToOne | ( | string | $model | ) |
Definition at line 208 of file DatabaseChecker.php.
checkPrimaryKeys | ( | string | $model | ) |
Definition at line 184 of file DatabaseChecker.php.
concatArrayKeyValue | ( | array | $array, |
callable | $callable, | ||
string | $sep = ',' |
||
) |
Definition at line 176 of file DatabaseChecker.php.
displayAll | ( | callable | $displayCallable | ) |
Definition at line 280 of file DatabaseChecker.php.
getDb | ( | ) |
Definition at line 276 of file DatabaseChecker.php.
getNonExistingTables | ( | ) |
Definition at line 54 of file DatabaseChecker.php.
getResultDatabaseNotExist | ( | ) |
Definition at line 117 of file DatabaseChecker.php.
getResultManyToMany | ( | ) |
Definition at line 137 of file DatabaseChecker.php.
getResultManyToOne | ( | ) |
Definition at line 133 of file DatabaseChecker.php.
getResultNonExistingTables | ( | ) |
Definition at line 121 of file DatabaseChecker.php.
getResultPrimaryKeys | ( | ) |
Definition at line 129 of file DatabaseChecker.php.
getResultUpdatedFields | ( | ) |
Definition at line 125 of file DatabaseChecker.php.
getUpdatedFields | ( | string | $model | ) |
Definition at line 141 of file DatabaseChecker.php.
hasErrors | ( | ) |
Definition at line 109 of file DatabaseChecker.php.
tableExists | ( | string | $table | ) |
Definition at line 75 of file DatabaseChecker.php.
|
private |
Definition at line 35 of file DatabaseChecker.php.
|
private |
Definition at line 25 of file DatabaseChecker.php.
|
private |
Definition at line 27 of file DatabaseChecker.php.
|
private |
Definition at line 23 of file DatabaseChecker.php.
|
private |
Definition at line 31 of file DatabaseChecker.php.
|
private |
Definition at line 29 of file DatabaseChecker.php.
|
private |
Definition at line 33 of file DatabaseChecker.php.