Index of all elements
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ _ ]
a
- addError
- in file HTML_TestListener.php, method HTML_TestListener::addError()
- addError
- in file Console_TestListener.php, method Console_TestListener::addError()
- addFailure
- in file HTML_TestListener.php, method HTML_TestListener::addFailure()
- addFailure
- in file Console_TestListener.php, method Console_TestListener::addFailure()
- alterDatabase
- in file Schema.php, method MDB2_Schema::alterDatabase()
Execute the necessary actions to implement the requested changes in a database structure.
- alterDatabaseIndexes
- in file Schema.php, method MDB2_Schema::alterDatabaseIndexes()
Execute the necessary actions to implement the requested changes in the indexes inside a database structure.
- alterDatabaseSequences
- in file Schema.php, method MDB2_Schema::alterDatabaseSequences()
Execute the necessary actions to implement the requested changes in the sequences inside a database structure.
- alterDatabaseTables
- in file Schema.php, method MDB2_Schema::alterDatabaseTables()
Execute the necessary actions to implement the requested changes in the tables inside a database structure.
- apiVersion
- in file Schema.php, method MDB2_Schema::apiVersion()
Return the MDB2 API version
- arrayMergeClobber
- in file Schema.php, method MDB2_Schema::arrayMergeClobber()
Clobbers two arrays together
top
top
c
- $count
- in file Parser.php, variable MDB2_Schema_Parser::$count
- cdataHandler
- in file Parser.php, method MDB2_Schema_Parser::cdataHandler()
- compareDefinitions
- in file Schema.php, method MDB2_Schema::compareDefinitions()
Compare a previous definition with the currently parsed definition
- compareSequenceDefinitions
- in file Schema.php, method MDB2_Schema::compareSequenceDefinitions()
Compare a previous definition with the currently parsed definition
- compareTableDefinitions
- in file Schema.php, method MDB2_Schema::compareTableDefinitions()
Compare a previous definition with the currently parsed definition
- compareTableFieldsDefinitions
- in file Schema.php, method MDB2_Schema::compareTableFieldsDefinitions()
Compare a previous definition with the currently parsed definition
- compareTableIndexesDefinitions
- in file Schema.php, method MDB2_Schema::compareTableIndexesDefinitions()
Compare a previous definition with the currently parsed definition
- connect
- in file Schema.php, method MDB2_Schema::connect()
Create a new MDB2 connection object and connect to the specified database
- Console_TestListener
- in file Console_TestListener.php, class Console_TestListener
- createDatabase
- in file Schema.php, method MDB2_Schema::createDatabase()
Create a database space within which may be created database objects
- createSequence
- in file Schema.php, method MDB2_Schema::createSequence()
Create a sequence
- createTable
- in file Schema.php, method MDB2_Schema::createTable()
Create a table and inititialize the table if data is available
- createTableIndexes
- in file Schema.php, method MDB2_Schema::createTableIndexes()
Create indexes on a table
- clitest.php
- procedural page clitest.php
- Console_TestListener.php
- procedural page Console_TestListener.php
top
d
- $database
- in file MDB2_Schema_testcase.php, variable MDB2_Schema_TestCase::$database
- $database_definition
- in file Parser2.php, variable MDB2_Schema_Parser2::$database_definition
- $database_definition
- in file Parser.php, variable MDB2_Schema_Parser::$database_definition
- $database_loaded
- in file Parser2.php, variable MDB2_Schema_Parser2::$database_loaded
- $db
- in file Schema.php, variable MDB2_Schema::$db
- $driver_input_file
- in file MDB2_Schema_testcase.php, variable MDB2_Schema_TestCase::$driver_input_file
- $dsn
- in file MDB2_Schema_testcase.php, variable MDB2_Schema_TestCase::$dsn
- disconnect
- in file Schema.php, method MDB2_Schema::disconnect()
Log out and disconnect from the database.
- dumpDatabase
- in file Schema.php, method MDB2_Schema::dumpDatabase()
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.
- dumpDatabase
- in file Writer.php, method MDB2_Schema_Writer::dumpDatabase()
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.
- dumpDatabaseChanges
- in file Schema.php, method MDB2_Schema::dumpDatabaseChanges()
Dump the changes between two database definitions.
- dumpSequence
- in file Writer.php, method MDB2_Schema_Writer::dumpSequence()
dump the structure of a sequence
top
e
- $element
- in file Parser.php, variable MDB2_Schema_Parser::$element
- $elements
- in file Parser.php, variable MDB2_Schema_Parser::$elements
- $error
- in file Parser2.php, variable MDB2_Schema_Parser2::$error
- $error
- in file Parser.php, variable MDB2_Schema_Parser::$error
- endHandler
- in file Parser.php, method MDB2_Schema_Parser::endHandler()
- endTest
- in file Console_TestListener.php, method Console_TestListener::endTest()
- endTest
- in file HTML_TestListener.php, method HTML_TestListener::endTest()
- errorHandler
- in file testUtils.php, function errorHandler()
- errorHandlerPEAR
- in file testUtils.php, function errorHandlerPEAR()
- errorMessage
- in file Schema.php, method MDB2_Schema::errorMessage()
Return a textual error message for a MDB2 error code
- example.php
- procedural page example.php
top
f
- $fail_on_invalid_names
- in file Validate.php, variable MDB2_Schema_Validate::$fail_on_invalid_names
- $field
- in file Parser.php, variable MDB2_Schema_Parser::$field
- $field_name
- in file Parser.php, variable MDB2_Schema_Parser::$field_name
- $force_defaults
- in file Validate.php, variable MDB2_Schema_Validate::$force_defaults
- factory
- in file Schema.php, method MDB2_Schema::factory()
Create a new MDB2 object for the specified database type type
- fixDatabaseKeys
- in file Parser2.php, method MDB2_Schema_Parser2::fixDatabaseKeys()
- fixSequenceKeys
- in file Parser2.php, method MDB2_Schema_Parser2::fixSequenceKeys()
- fixTableFieldKeys
- in file Parser2.php, method MDB2_Schema_Parser2::fixTableFieldKeys()
- fixTableIndexKeys
- in file Parser2.php, method MDB2_Schema_Parser2::fixTableIndexKeys()
- fixTableInitializationDataKeys
- in file Parser2.php, method MDB2_Schema_Parser2::fixTableInitializationDataKeys()
- fixTableInitializationKeys
- in file Parser2.php, method MDB2_Schema_Parser2::fixTableInitializationKeys()
- fixTableKeys
- in file Parser2.php, method MDB2_Schema_Parser2::fixTableKeys()
top
g
- getBacktrace
- in file testUtils.php, function getBacktrace()
Little helper function that gets a backtrace if available
- getDefinitionFromDatabase
- in file Schema.php, method MDB2_Schema::getDefinitionFromDatabase()
Attempt to reverse engineer a schema structure from an existing MDB2 This method can be used if no xml schema file exists yet.
- getExpression
- in file Schema.php, method MDB2_Schema::getExpression()
Generates a string that represents a value that would be associated with a column in a DML instruction.
- getInstructionFields
- in file Schema.php, method MDB2_Schema::getInstructionFields()
Walks the parsed DML instruction array, field by field, storing them and their processed values inside a new array.
- getInstructionWhere
- in file Schema.php, method MDB2_Schema::getInstructionWhere()
Translates the parsed WHERE expression of a DML instruction (array structure) to a SQL WHERE clause (string).
- getOperator
- in file Schema.php, method MDB2_Schema::getOperator()
Returns the matching SQL operator
- getOption
- in file Schema.php, method MDB2_Schema::getOption()
returns the value of an option
- getTests
- in file testUtils.php, function getTests()
given a class name it returns an array of test* methods
- getWarnings
- in file Schema.php, method MDB2_Schema::getWarnings()
Get all warnings in reverse order
- grepForTest
- in file testUtils.php, function grepForTest()
this is used (with array filter) to filter out the test*
top
top
i
- $index
- in file Parser.php, variable MDB2_Schema_Parser::$index
- $index_name
- in file Parser.php, variable MDB2_Schema_Parser::$index_name
- $init
- in file Parser.php, variable MDB2_Schema_Parser::$init
- $init_expression
- in file Parser.php, variable MDB2_Schema_Parser::$init_expression
- $init_field
- in file Parser.php, variable MDB2_Schema_Parser::$init_field
- $init_function
- in file Parser.php, variable MDB2_Schema_Parser::$init_function
- initializeTable
- in file Schema.php, method MDB2_Schema::initializeTable()
Inititialize the table with data
- isBoolean
- in file Validate.php, method MDB2_Schema_Validate::isBoolean()
Verifies if a given value can be considered boolean. If yes, set value to true or false according to its actual contents and return true. If not, keep its contents untouched and return false.
- isError
- in file Schema.php, method MDB2_Schema::isError()
Tell whether a value is an MDB2_Schema error.
- ibase.php
- procedural page ibase.php
top
top
m
- MDB2_Schema
- in file Schema.php, class MDB2_Schema
The database manager is a class that provides a set of database management services like installing, altering and dumping the data structures of databases.
- mssql.php
- procedural page mssql.php
- mysql.php
- procedural page mysql.php
- MDB2_Schema_testcase.php
- procedural page MDB2_Schema_testcase.php
- MDB2_SCHEMA_DUMP_ALL
- in file Schema.php, constant MDB2_SCHEMA_DUMP_ALL
- MDB2_SCHEMA_DUMP_CONTENT
- in file Schema.php, constant MDB2_SCHEMA_DUMP_CONTENT
- MDB2_SCHEMA_DUMP_STRUCTURE
- in file Schema.php, constant MDB2_SCHEMA_DUMP_STRUCTURE
- MDB2_SCHEMA_ERROR
- in file Schema.php, constant MDB2_SCHEMA_ERROR
If you add an error code here, make sure you also add a textual version of it in MDB2_Schema::errorMessage().
- MDB2_Schema_Error
- in file Schema.php, class MDB2_Schema_Error
MDB2_Schema_Error implements a class for reporting portable database error messages.
- MDB2_Schema_Error
- in file Schema.php, method MDB2_Schema_Error::MDB2_Schema_Error()
MDB2_Schema_Error constructor.
- MDB2_SCHEMA_ERROR_INVALID
- in file Schema.php, constant MDB2_SCHEMA_ERROR_INVALID
- MDB2_SCHEMA_ERROR_PARSE
- in file Schema.php, constant MDB2_SCHEMA_ERROR_PARSE
- MDB2_SCHEMA_ERROR_UNSUPPORTED
- in file Schema.php, constant MDB2_SCHEMA_ERROR_UNSUPPORTED
- MDB2_SCHEMA_ERROR_VALIDATE
- in file Schema.php, constant MDB2_SCHEMA_ERROR_VALIDATE
- MDB2_SCHEMA_ERROR_WRITER
- in file Schema.php, constant MDB2_SCHEMA_ERROR_WRITER
- MDB2_Schema_Parser
- in file Parser.php, method MDB2_Schema_Parser::MDB2_Schema_Parser()
- MDB2_Schema_Parser
- in file Parser.php, class MDB2_Schema_Parser
Parses an XML schema file
- MDB2_Schema_Parser2
- in file Parser2.php, method MDB2_Schema_Parser2::MDB2_Schema_Parser2()
- MDB2_Schema_Parser2
- in file Parser2.php, class MDB2_Schema_Parser2
Parses an XML schema file
- MDB2_Schema_Test
- in file MDB2_Schema_testcase.php, method MDB2_Schema_TestCase::MDB2_Schema_Test()
- MDB2_Schema_TestCase
- in file MDB2_Schema_testcase.php, class MDB2_Schema_TestCase
- MDB2_Schema_Validate
- in file Validate.php, class MDB2_Schema_Validate
Validates an XML schema file
- MDB2_Schema_Validate
- in file Validate.php, method MDB2_Schema_Validate::MDB2_Schema_Validate()
- MDB2_Schema_Writer
- in file Writer.php, method MDB2_Schema_Writer::MDB2_Schema_Writer()
- MDB2_Schema_Writer
- in file Writer.php, class MDB2_Schema_Writer
Writes an XML schema file
- methodExists
- in file MDB2_Schema_testcase.php, method MDB2_Schema_TestCase::methodExists()
top
top
top
top
s
- $schema
- in file MDB2_Schema_testcase.php, variable MDB2_Schema_TestCase::$schema
- $sequence
- in file Parser.php, variable MDB2_Schema_Parser::$sequence
- $sequence_name
- in file Parser.php, variable MDB2_Schema_Parser::$sequence_name
- $structure
- in file Parser2.php, variable MDB2_Schema_Parser2::$structure
- $structure
- in file Parser.php, variable MDB2_Schema_Parser::$structure
- Schema.php
- procedural page Schema.php
- setExpression
- in file Parser2.php, method MDB2_Schema_Parser2::setExpression()
- setInputFile
- in file Parser2.php, method MDB2_Schema_Parser2::setInputFile()
- setOption
- in file Schema.php, method MDB2_Schema::setOption()
Sets the option for the db class
- setUp
- in file MDB2_Schema_testcase.php, method MDB2_Schema_TestCase::setUp()
- startHandler
- in file Parser.php, method MDB2_Schema_Parser::startHandler()
- startTest
- in file HTML_TestListener.php, method HTML_TestListener::startTest()
- startTest
- in file Console_TestListener.php, method Console_TestListener::startTest()
top
top
u
- updateDatabase
- in file Schema.php, method MDB2_Schema::updateDatabase()
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.
top
v
- $val
- in file Parser.php, variable MDB2_Schema_Parser::$val
- $validator
- in file Parser2.php, variable MDB2_Schema_Parser2::$validator
- $valid_types
- in file Validate.php, variable MDB2_Schema_Validate::$valid_types
- $valid_types
- in file Writer.php, variable MDB2_Schema_Writer::$valid_types
- $variables
- in file Parser2.php, variable MDB2_Schema_Parser2::$variables
- $variables
- in file Parser.php, variable MDB2_Schema_Parser::$variables
- $var_mode
- in file Parser.php, variable MDB2_Schema_Parser::$var_mode
- Validate.php
- procedural page Validate.php
- validateDatabase
- in file Validate.php, method MDB2_Schema_Validate::validateDatabase()
Checks whether a parsed database is valid. Modify its structure and data when necessary.
- validateDataField
- in file Validate.php, method MDB2_Schema_Validate::validateDataField()
Checks whether a parsed DML-field is valid. Modify its structure when necessary. This is called when validating INSERT and UPDATE.
- validateDataFieldValue
- in file Validate.php, method MDB2_Schema_Validate::validateDataFieldValue()
Checks whether a given value is compatible with a table field. This is done when parsing a field for a INSERT or UPDATE instruction.
- validateField
- in file Validate.php, method MDB2_Schema_Validate::validateField()
Checks whether the definition of a parsed field is valid. Modify field definition when necessary.
- validateIndex
- in file Validate.php, method MDB2_Schema_Validate::validateIndex()
Checks whether a parsed index is valid. Modify index definition when necessary.
- validateIndexField
- in file Validate.php, method MDB2_Schema_Validate::validateIndexField()
Checks whether a parsed index-field is valid. Modify its definition when necessary.
- validateSequence
- in file Validate.php, method MDB2_Schema_Validate::validateSequence()
Checks whether the definition of a parsed sequence is valid. Modify sequence definition when necessary.
- validateTable
- in file Validate.php, method MDB2_Schema_Validate::validateTable()
Checks whether the definition of a parsed table is valid. Modify table definition when necessary.
- verifyAlterDatabase
- in file Schema.php, method MDB2_Schema::verifyAlterDatabase()
Verify that the changes requested are supported
top
top
top
Documentation generated on Wed, 21 Feb 2007 08:00:07 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.
|
|