|
eZ Publish
[4.0]
|
Go to the source code of this file.
Variables | |
| $cli = eZCLI::instance() | |
| $db = eZDB::instance() | |
| $dbSchema = eZDbSchema::instance( $db ) | |
| $dbschemaParameters | |
| $fileNameDba = 'db_data.dba' | |
| $fileNameSql = 'cleandata.sql' | |
| $includeData = true | |
| if($db->databaseName()!="mysql") | $includeSchema = false |
| $options | |
| $script | |
| $stdOutDBA = null | |
| $stdOutSQL = null | |
| if(isset($options['filename-sql'])) if(isset($options['filename-dba'])) if(isset($options['stdout-sql'])!==null) if(isset($options['stdout-dba'])!==null) | $tableType = 'MyISAM' |
| $cli = eZCLI::instance() |
Definition at line 52 of file ezsqldumpisbndata.php.
| $db = eZDB::instance() |
Definition at line 80 of file ezsqldumpisbndata.php.
| $dbSchema = eZDbSchema::instance( $db ) |
Definition at line 81 of file ezsqldumpisbndata.php.
Referenced by eZDataType\importDBDataFromDBAFile(), loadDatabaseSchema(), and loadLintSchema().
| $dbschemaParameters |
array( 'schema' => $includeSchema, 'data' => $includeData, 'format' => 'generic', 'meta_data' => null, 'table_type' => $tableType, 'table_charset' => null, 'compatible_sql' => true, 'allow_multi_insert' => null, 'diff_friendly' => null, 'table_include' => array( 'ezisbn_group', 'ezisbn_group_range', 'ezisbn_registrant_range' ) )
Definition at line 112 of file ezsqldumpisbndata.php.
| $fileNameDba = 'db_data.dba' |
Definition at line 47 of file ezsqldumpisbndata.php.
| $fileNameSql = 'cleandata.sql' |
Definition at line 48 of file ezsqldumpisbndata.php.
| $includeData = true |
Definition at line 110 of file ezsqldumpisbndata.php.
Referenced by eZDBSchemaInterface\insertSchema(), eZDBSchemaInterface\writeArraySchemaFile(), eZDBSchemaInterface\writeSerializedSchemaFile(), and eZDBSchemaInterface\writeSQLSchemaFile().
| if ($db->databaseName()!="mysql") $includeSchema = false |
Definition at line 109 of file ezsqldumpisbndata.php.
Referenced by eZDBSchemaInterface\insertSchema(), eZDBSchemaInterface\writeArraySchemaFile(), eZDBSchemaInterface\writeSerializedSchemaFile(), and eZDBSchemaInterface\writeSQLSchemaFile().
| $options |
$script->getOptions( "[stdout-sql][stdout-dba][filename-sql:][filename-dba:]", "", array( 'stdout-sql' => "Result of sql output will be printed to standard output instead of to file.", 'stdout-dba' => "Result of dba output will be printed to standard output instead of to file.", 'filename-sql' => "Custom name for the sql file. Will be stored in the directory: \n" . "kernel/classes/datatypes/ezisbn/sql/<database>/", 'filename-dba' => "Custom name for the dba file. Will be stored in the directory: \n" . "kernel/classes/datatypes/ezisbn/share/" ) )
Definition at line 72 of file ezsqldumpisbndata.php.
eZScript::instance( array( 'description' => ( "eZ Publish SQL Isbn data dump\n\n" . "Dump sql data to file or standard output from the tables:\n" . " ezisbn_group\n" . " ezisbn_group_range\n" . " ezisbn_registrant_range\n\n" . "Default is file, wich will be written to:\n" . " kernel/classes/datatypes/ezisbn/sql/<database>/cleandata.sql\n" . " kernel/classes/datatypes/ezisbn/share/db_data.dba\n\n" . "Script can be runned as:\n" . "php bin/php/ezsqldumpisbndata.php --stdout-sql\n" . " --stdout-dba\n" . " --filename-sql=customname.sql\n" . " --filename-dba=customname.dba" ), 'use-session' => false, 'use-modules' => true, 'use-extensions' => true ) )
Definition at line 53 of file ezsqldumpisbndata.php.
| $stdOutDBA = null |
Definition at line 50 of file ezsqldumpisbndata.php.
| $stdOutSQL = null |
Definition at line 49 of file ezsqldumpisbndata.php.