irm-1.6-b3/MDB/Manager.php
/**
     * Parse a database schema definition file and dump the respective structure
     * and contents.
     *
     * @param string $schema_file path of the database schema file.
     * @param mixed $setup_arguments an associative array that takes pairs of tag names and values
     * that define the setup arguments that are passed to the
     * MDB_Manager::connect function.
     * @param array $dump_arguments an associative array that takes pairs of tag names and values
     * that define dump options as defined for the MDB_Manager::DumpDatabase
     * function.
     * @param array $variables an associative array that the defines the text string values
     * that are meant to be used to replace the variables that are used in the
     * schema description as defined for the
     * MDB_Manager::parseDatabaseDefinitionFile function.
     * @return mixed MDB_OK on success, or a MDB error object
     * @access private
     */
Parse a database schema definition file and dump the respective structure
and contents.

@param string $schema_file path of the database schema file.
@param mixed $setup_arguments an associative array that takes pairs of tag names and values
that define the setup arguments that are passed to the
MDB_Manager::connect function.
@param array $dump_arguments an associative array that takes pairs of tag names and values
that define dump options as defined for the MDB_Manager::DumpDatabase
function.
@param array $variables an associative array that the defines the text string values
that are meant to be used to replace the variables that are used in the
schema description as defined for the
MDB_Manager::parseDatabaseDefinitionFile function.
@return mixed MDB_OK on success, or a MDB error object
@access private
Parse a database schema definition file and dump the respective structure and contents . @param string $schema_file path of the database schema file . @param mixed $setup_arguments an associative array that takes pairs of tag names and values that define the setup arguments that are passed to the MDB_Manager :: connect function . @param array $dump_arguments an associative array that takes pairs of tag names and values that define dump options as defined for the MDB_Manager :: DumpDatabase function . @param array $variables an associative array that the defines the text string values that are meant to be used to replace the variables that are used in the schema description as defined for the MDB_Manager :: parseDatabaseDefinitionFile function . @return mixed MDB_OK on success or a MDB error object @access private
function _dumpDatabaseContents($schema_file, $setup_arguments, $dump_arguments, $variables)
    {
        $database_definition = $this->parseDatabaseDefinitionFile($schema_file,
            $variables, $this->options['fail_on_invalid_names']);
        if(MDB::isError($database_definition)) {
            return($database_definition);
        }
        $this->database_definition = $database_definition;
        $result = $this->connect($setup_arguments);
        if(MDB::isError($result)) {
            return($result);
        }
        return($this->dumpDatabase($dump_arguments));
    }
function _dumpDatabaseContents ( $ schema_file , $ setup_arguments , $ dump_arguments , $ variables ) { $ database_definition = $ this -> parseDatabaseDefinitionFile ( $ schema_file , $ variables , $ this -> options [ 'fail_on_invalid_names' ] ) ; if ( MDB :: isError ( $ database_definition ) ) { return ( $ database_definition ) ; } $ this -> database_definition = $ database_definition ; $ result = $ this -> connect ( $ setup_arguments ) ; if ( MDB :: isError ( $ result ) ) { return ( $ result ) ; } return ( $ this -> dumpDatabase ( $ dump_arguments ) ) ; }
Parse a database schema definition file and dump the respective structure
 and contents.
Parse a database schema definition file and dump the respective structure and contents .