|
Doctrine 1.2.4
|
Inherits Doctrine_Import.
Public Member Functions | |
| databaseExists ($database) | |
| functionExists ($function) | |
| getConnection () | |
| getModuleName () | |
| importSchema ($directory, array $connections=array(), array $options=array()) | |
| listDatabases () | |
| listFunctions () | |
| listSequences ($database=null) | |
| listTableColumns ($table) | |
| listTableConstraints ($table) | |
| listTableIndexes ($table) | |
| listTableRelations ($table) | |
| listTables ($database=null) | |
| listTableTriggers ($table) | |
| listTableViews ($table) | |
| listTriggers ($database=null) | |
| listUsers () | |
| listViews ($database=null) | |
| sequenceExists ($sequence, $database=null) | |
| tableColumnExists ($column, $table) | |
| tableConstraintExists ($constraint, $table) | |
| tableExists ($table, $database=null) | |
| tableIndexExists ($index, $table) | |
| tableTriggerExists ($trigger, $table) | |
| tableViewExists ($view, $table) | |
| triggerExists ($trigger, $database=null) | |
| userExists ($user) | |
| viewExists ($view, $database=null) | |
Definition at line 31 of file Oracle.php.
|
inherited |
checks if a database exists
| string | $database |
Definition at line 220 of file Import.php.
|
inherited |
checks if a function exists
| string | $function |
Definition at line 231 of file Import.php.
|
inherited |
getConnection returns the connection object this module uses
Definition at line 68 of file Module.php.
|
inherited |
getModuleName returns the name of this module
Definition at line 79 of file Module.php.
|
inherited |
importSchema
method for importing existing schema to Doctrine_Record classes
| string | $directory | |
| array | $connections | Array of connection names to generate models for |
Definition at line 364 of file Import.php.
| Doctrine_Import_Oracle::listDatabases | ( | ) |
lists all databases
Definition at line 38 of file Oracle.php.
| Doctrine_Import_Oracle::listFunctions | ( | ) |
lists all availible database functions
Definition at line 57 of file Oracle.php.
| Doctrine_Import_Oracle::listSequences | ( | $database = null | ) |
lists all database sequences
| string | null | $database |
Definition at line 82 of file Oracle.php.
| Doctrine_Import_Oracle::listTableColumns | ( | $table | ) |
lists table constraints
| string | $table | database table name |
Definition at line 115 of file Oracle.php.
| Doctrine_Import_Oracle::listTableConstraints | ( | $table | ) |
lists table constraints
| string | $table | database table name |
Definition at line 97 of file Oracle.php.
| Doctrine_Import_Oracle::listTableIndexes | ( | $table | ) |
lists table constraints
| string | $table | database table name |
Definition at line 161 of file Oracle.php.
| Doctrine_Import_Oracle::listTableRelations | ( | $table | ) |
list table relations
Definition at line 176 of file Oracle.php.
| Doctrine_Import_Oracle::listTables | ( | $database = null | ) |
lists tables
| string | null | $database |
Definition at line 204 of file Oracle.php.
| Doctrine_Import_Oracle::listTableTriggers | ( | $table | ) |
lists table triggers
| string | $table | database table name |
Definition at line 216 of file Oracle.php.
| Doctrine_Import_Oracle::listTableViews | ( | $table | ) |
lists table views
| string | $table | database table name |
Definition at line 227 of file Oracle.php.
| Doctrine_Import_Oracle::listTriggers | ( | $database = null | ) |
lists all database triggers
| string | null | $database |
Definition at line 70 of file Oracle.php.
| Doctrine_Import_Oracle::listUsers | ( | ) |
lists database users
Definition at line 237 of file Oracle.php.
| Doctrine_Import_Oracle::listViews | ( | $database = null | ) |
lists database views
| string | null | $database |
Definition at line 250 of file Oracle.php.
|
inherited |
checks if a sequence exists
| string | $sequence | |
| string | null | $database |
Definition at line 255 of file Import.php.
|
inherited |
checks if a table column exists
| string | $column | |
| string | $table | database table name |
Definition at line 279 of file Import.php.
|
inherited |
checks if a table constraint exists
| string | $constraint | |
| string | $table | database table name |
Definition at line 267 of file Import.php.
|
inherited |
checks if a table exists
| string | $table | |
| string | null | $database |
Definition at line 303 of file Import.php.
|
inherited |
checks if a table index exists
| string | $index | |
| string | $table | database table name |
Definition at line 291 of file Import.php.
|
inherited |
checks if a table trigger exists
| string | $trigger | |
| string | $table | database table name |
Definition at line 315 of file Import.php.
|
inherited |
checks if a table view exists
| string | $view | |
| string | $table | database table name |
Definition at line 327 of file Import.php.
|
inherited |
checks if a trigger exists
| string | $trigger | |
| string | null | $database |
Definition at line 243 of file Import.php.
|
inherited |
checks if a user exists
| string | $user |
Definition at line 338 of file Import.php.
|
inherited |
checks if a view exists
| string | $view | |
| string | null | $database |
Definition at line 350 of file Import.php.