| MDB2_Schema |
| [ class tree: MDB2_Schema ] [ index: MDB2_Schema ] [ all elements ] |
|
Packages: MDB2_Schema MDB2 Classes: Files:
clitest.php
Console_TestListener.php HTML_TestListener.php ibase.php MDB2_Schema_testcase.php mssql.php mysql.php oci8.php Parser.php pgsql.php Schema.php test.php testchoose.php testUtils.php Writer.php |
[ Top ] $warnings = array()[line 84]
[ Top ] Method DetailalterDatabase [line 1588]
Execute the necessary actions to implement the requested changes in a database structure.
Parameters:
[ Top ]
alterDatabaseIndexes [line 1393]
Execute the necessary actions to implement the requested changes in the indexes inside a database structure.
Parameters:
[ Top ]
alterDatabaseSequences [line 1530]
Execute the necessary actions to implement the requested changes in the sequences inside a database structure.
Parameters:
[ Top ]
alterDatabaseTables [line 1457]
Execute the necessary actions to implement the requested changes in the tables inside a database structure.
Parameters:
[ Top ]
apiVersion [line 103]
Return the MDB2 API version
[ Top ]
arrayMergeClobber [line 118]
Clobbers two arrays together.
Parameters:
[ Top ]
compareDefinitions [line 935]
compare a previous definition with the currenlty parsed definition
Parameters:
[ Top ]
compareSequenceDefinitions [line 1258]
compare a previous definition with the currenlty parsed definition
Parameters:
[ Top ]
compareTableDefinitions [line 1158]
compare a previous definition with the currenlty parsed definition
Parameters:
[ Top ]
compareTableFieldsDefinitions [line 1005]
compare a previous definition with the currenlty parsed definition
Parameters:
[ Top ]
compareTableIndexesDefinitions [line 1070]
compare a previous definition with the currenlty parsed definition
Parameters:
[ Top ]
connect [line 250]
Create a new MDB2 connection object and connect to the specified database
Parameters:
[ Top ]
createDatabase [line 809]
Create a database space within which may be created database objects like tables, indexes and sequences. The implementation of this function is highly DBMS specific and may require special permissions to run successfully. Consult the documentation or the DBMS drivers that you use to be aware of eventual configuration requirements.
Parameters:
[ Top ]
createSequence [line 724]
create a sequence
Parameters:
[ Top ]
createTable [line 617]
create a table and inititialize the table if data is available
Parameters:
[ Top ]
createTableIndexes [line 531]
create a indexes om a table
Parameters:
[ Top ]
disconnect [line 293]dumpDatabase [line 1835]
Dump a previously parsed database structure in the Metabase schema XML based format suitable for the Metabase parser. This function may optionally dump the database definition with initialization commands that specify the data that is currently present in the tables.
Parameters:
[ Top ]
dumpDatabaseChanges [line 1666]
Dump the changes between two database definitions.
Parameters:
[ Top ]
errorMessage [line 2074]
Return a textual error message for a MDB2 error code
Parameters:
[ Top ]
factory [line 223]
Create a new MDB2 object for the specified database type type
Parameters:
[ Top ]
getDefinitionFromDatabase [line 398]
Attempt to reverse engineer a schema structure from an existing MDB2 This method can be used if no xml schema file exists yet. The resulting xml schema file may need some manual adjustments.
[ Top ]
getOption [line 197]
returns the value of an option
Parameters:
[ Top ]
getWarnings [line 157]
get all warnings in reverse order. This means that the last warning is the first element in the array
[ Top ]
initializeTable [line 677]
inititialize the table with data
Parameters:
[ Top ]
isError [line 2144]
Tell whether a value is a MDB2_Schema error.
Parameters:
[ Top ]
parseDatabaseDefinition [line 316]
Parse a database definition from a file or an array
Parameters:
[ Top ]
parseDatabaseDefinitionFile [line 352]
Parse a database definition file by creating a schema format parser object and passing the file contents as parser input data stream.
Parameters:
[ Top ]
raiseError [line 2125]
This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
Parameters:
[ Top ]
resetWarnings [line 141]setOption [line 173]
set the option for the db class
Parameters:
[ Top ]
updateDatabase [line 1987]
Compare the correspondent files of two versions of a database schema definition: the previously installed and the one that defines the schema that is meant to update the database. If the specified previous definition file does not exist, this function will create the database from the definition specified in the current schema file. If both files exist, the function assumes that the database was previously installed based on the previous schema file and will update it by just applying the changes. If this function succeeds, the contents of the current schema file are copied to replace the previous schema file contents. Any subsequent schema changes should only be done on the file specified by the $current_schema_file to let this function make a consistent evaluation of the exact changes that need to be applied.
Parameters:
[ Top ]
verifyAlterDatabase [line 1324]
verify that the changes requested are supported
Parameters:
[ Top ]
writeInitialization [line 1896]
write initialization and sequences
Parameters:
[ Top ]
Documentation generated on Sun, 16 Apr 2006 08:34:25 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004. |