|
depage-db v1.4.0
|
Definition at line 14 of file Schema.php.
Public Member Functions | |
| __construct ($pdo) | |
| loadGlob ($path) | |
| loadFile ($fileName) | |
| dryRun () | |
| update () | |
| setReplace ($replaceFunction) | |
Data Fields | |
| const | TABLENAME_TAG = '@tablename' |
| const | CONNECTION_TAG = '@connection' |
| const | VERSION_TAG = '@version' |
Protected Member Functions | |
| run () | |
| execute ($number, $statements) | |
| tableExists ($tableName) | |
| currentTableVersion ($tableName) | |
| updateTableVersion ($tableName, $version) | |
| extractTag ($split=[]) | |
| checkDictionary ($dictionary) | |
| replace ($tableName) | |
| replaceIdentifiers ($dictionary, $split=[]) | |
Protected Attributes | |
| $replaceFunction = [] | |
| $updateData = [] | |
| $dryRun | |
| $pdo = null | |
| __construct | ( | $pdo | ) |
Definition at line 24 of file Schema.php.
|
protected |
Definition at line 275 of file Schema.php.
|
protected |
Definition at line 209 of file Schema.php.
| dryRun | ( | ) |
Definition at line 116 of file Schema.php.
|
protected |
Definition at line 166 of file Schema.php.
|
protected |
Definition at line 243 of file Schema.php.
| loadFile | ( | $fileName | ) |
Definition at line 43 of file Schema.php.
| loadGlob | ( | $path | ) |
Definition at line 29 of file Schema.php.
|
protected |
Definition at line 297 of file Schema.php.
|
protected |
Definition at line 305 of file Schema.php.
|
protected |
Definition at line 128 of file Schema.php.
| setReplace | ( | $replaceFunction | ) |
Definition at line 291 of file Schema.php.
|
protected |
Definition at line 193 of file Schema.php.
| update | ( | ) |
Definition at line 123 of file Schema.php.
|
protected |
Definition at line 237 of file Schema.php.
|
protected |
Definition at line 21 of file Schema.php.
|
protected |
Definition at line 22 of file Schema.php.
|
protected |
Definition at line 19 of file Schema.php.
|
protected |
Definition at line 20 of file Schema.php.
| const CONNECTION_TAG = '@connection' |
Definition at line 17 of file Schema.php.
| const TABLENAME_TAG = '@tablename' |
Definition at line 16 of file Schema.php.
| const VERSION_TAG = '@version' |
Definition at line 18 of file Schema.php.