eZ Publish  [4.2]
ezsqldumpschema.php File Reference

Go to the source code of this file.

Functions

if(strlen(trim($type))==0) eZTriedDatabaseString ($database, $host, $user, $password, $socket)

Variables

 $cli = eZCLI::instance()
if($options['output-types']) $dbschemaParameters
 $host = $options['host']
 $includeData = false
switch(count($options['arguments'])) $includeSchema = true
 $options
if($options['no-sort']) $outputType = 'serialized'
 $password = $options['password']
 $port = $options['port']
 $script
 $socket = $options['socket']
 $type = $options['type']
 $user = $options['user']

Function Documentation

if (strlen(trim($type))==0) eZTriedDatabaseString ( database,
host,
user,
password,
socket 
)

Definition at line 170 of file ezsqldumpschema.php.


Variable Documentation

$cli = eZCLI::instance()

Definition at line 32 of file ezsqldumpschema.php.

if ($options['output-types']) $dbschemaParameters
Initial value:
 array( 'schema' => $includeSchema,
                             'data' => $includeData,
                             'format' => $options['format'] ? $options['format'] : 'generic',
                             'meta_data' => $options['meta-data'],
                             'table_type' => $options['table-type'],
                             'table_charset' => $options['table-charset'],
                             'compatible_sql' => $options['compatible-sql'],
                             'allow_multi_insert' => $options['allow-multi-insert'],
                             'diff_friendly' => $options['diff-friendly'] )

Definition at line 140 of file ezsqldumpschema.php.

$host = $options['host']

Definition at line 80 of file ezsqldumpschema.php.

$includeData = false

Definition at line 110 of file ezsqldumpschema.php.

switch (count($options['arguments'])) $includeSchema = true

Definition at line 109 of file ezsqldumpschema.php.

$options

Definition at line 42 of file ezsqldumpschema.php.

if ($options['no-sort']) $outputType = 'serialized'

Definition at line 154 of file ezsqldumpschema.php.

$password = $options['password']

Definition at line 84 of file ezsqldumpschema.php.

Initial value:
 eZScript::instance( array( 'description' => ( "eZ Publish SQL Schema dump\n\n" .
                                                        "Dump sql schema to specified file or standard output\n".
                                                        "ezsqldumpschema.php --type=mysql --user=root stable33 schema.sql" ),
                                     'use-session' => false,
                                     'use-modules' => true,
                                     'use-extensions' => true ) )

Definition at line 33 of file ezsqldumpschema.php.

$socket = $options['socket']

Definition at line 83 of file ezsqldumpschema.php.

Referenced by eZTriedDatabaseString(), eZDB\instance(), and loadDatabaseSchema().

$type = $options['type']

Definition at line 79 of file ezsqldumpschema.php.

Referenced by eZURLAliasML\actionToUrl(), eZSession\addCallback(), eZPHPCreator\addInclude(), eZMultiPrice\addPrice(), eZInformationCollection\allowAnonymous(), eZPackage\appendFile(), eZPackage\appendInstall(), eZPackage\appendProvides(), eZUser\authenticateHash(), eZImageObject\calculateAxisPlacement(), eZDateTimeType\classAttributeContent(), eZPgsqlSchema\convertFromStandardType(), eZPgsqlSchema\convertToStandardType(), eZLocale\countryFile(), eZPHPMath\create(), eZNotificationEvent\create(), eZCollaborationSimpleMessage\create(), eZObjectRelationListType\createClassContentStructure(), eZUser\createHash(), eZPackage\createInstallTree(), eZCollaborationItem\createNotificationEvent(), eZMultiPrice\createPrice(), eZModule\currentAction(), eZMultiOption2Type\customObjectAttributeHTTPAction(), eZObjectRelationType\customObjectAttributeHTTPAction(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZSOAPResponse\decodeDataTypes(), eZMultiPrice\decodeDOMTree(), eZContentCacheManager\dependencyInfo(), eZTemplateDesignResource\designSetting(), eZContentUpload\detectClassIdentifier(), eZMultiPrice\discountExVATPriceList(), eZMultiPrice\discountIncVATPriceList(), eZInformationCollection\displayHandling(), eZTemplateAttributeOperator\displayVariable(), eZMultiPrice\DOMDocument(), eZPackage\domStructure(), dumpToText(), eZModuleOperationInfo\executeBody(), eZPDFTable\extractFunction(), eZCodeMapper\extractUnicodeValue(), eZCodeMapper\extractUnicodeValues(), eZMultiPrice\exVATPriceList(), eZContentObjectPackageInstaller\eZContentObjectPackageInstaller(), Cezpdf\ezImage(), eZMimeType\eZMimeType(), eZPackageInstallationHandler\eZPackageInstallationHandler(), eZWorkflowType\eZWorkflowType(), eZIniSettingType\fetchClassAttributeHTTPInput(), eZObjectRelationListType\fetchClassAttributeHTTPInput(), eZPackage\fetchPackages(), eZFilePackageHandler\fileExists(), filePathForBinaryFile(), eZPackage\fileStorePath(), eZPolicyLimitation\findByType(), eZExtension\findExtensionType(), eZMultiPriceType\fromString(), eZMysqlSchema\generateFieldDef(), eZCodeMapper\generateSimpleMappingTable(), eZDBInterface\generateSQLINStatement(), eZBinaryFileHandler\handleDownload(), eZXMLInputParser\handleError(), handleMessageNode(), eZFilePackageHandler\handleParameters(), eZUser\hashType(), eZDBInterface\implodeWithTypeCast(), eZMultiPrice\incVATPriceList(), eZTemplateTextOperator\indentTransformation(), eZDBInterface\insertFile(), eZBinaryFileType\insertRegularFile(), eZMediaType\insertRegularFile(), eZPackage\installItem(), eZPackage\installItemsList(), eZCollaborationViewHandler\instance(), eZDebug\isLogFileEnabled(), eZLocale\languageFile(), eZNotificationEventType\loadAndRegisterAllTypes(), eZWorkflowType\loadAndRegisterAllTypes(), eZDataType\loadAndRegisterAllTypes(), eZNotificationEventType\loadAndRegisterType(), eZWorkflowType\loadAndRegisterType(), eZDataType\loadAndRegisterType(), loadDatabaseSchema(), eZLocale\localeFile(), eZWordToImageOperator\modify(), eZTemplateLocaleOperator\modify(), eZTemplateStringOperator\modify(), eZOrder\orderInfo(), ezpAutoloadCliOutput\outputCli(), eZTemplateMultiPassParser\parseIntoTextElements(), eZTemplateMultiPassParser\parseIntoTree(), eZCodeMapper\parseTransformationFile(), eZPgsqlSchema\parseType(), eZDir\path(), eZMultiPrice\priceByCurrency(), eZMultiPrice\priceList(), eZInformationCollection\redirectURL(), eZWorkflowType\registerType(), eZFilePackageHandler\roleExists(), eZInformationCollection\sendOutEmail(), eZDir\separator(), eZPackageType\serializeContentClassAttribute(), eZIniSettingType\serializeContentClassAttribute(), eZMediaType\serializeContentClassAttribute(), eZObjectRelationListType\serializeContentClassAttribute(), eZMail\setContentType(), eZTemplateDesignResource\setDesignSetting(), eZDebug\setHandleType(), eZDebug\setIsLogFileEnabled(), eZDebug\setLogFileEnabled(), eZMultiPrice\setPriceByCurrency(), eZImageInterface\setStoredFile(), eZDebug\showMessage(), eZImageInterface\store(), eZBinaryFile\storedFileInfo(), eZMedia\storedFileInfo(), eZContentObjectTreeNode\subTreeGroupByDateField(), eZMysqlSchema\tableStorageTypeName(), eZTemplateElementParser\templateTypeName(), eZMultiPriceType\toString(), eZLocale\transformToPHPFormat(), eZSession\triggerCallback(), eZBasket\type(), eZInformationCollection\typeForObject(), eZPackage\uninstallItem(), eZDir\unlinkWildcard(), eZPackageType\unserializeContentClassAttribute(), eZIniSettingType\unserializeContentClassAttribute(), eZMediaType\unserializeContentClassAttribute(), eZMultiPrice\updatePrice(), eZInformationCollection\userDataHandling(), eZTemplateStringOperator\wash(), and eZTemplateStringOperator\washTransformation().

$user = $options['user']

Definition at line 81 of file ezsqldumpschema.php.