eZPublishCommunityProject(LegacyStack)  2013.5
ezsqldumpschema.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Functions

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

Variables

 $cli = eZCLI::instance()
 
 $db
 
if(!is_object($db)) if(!$db
or!$db->isConnected()) 
$dbSchema = eZDbSchema::instance( $db )
 
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']
 
if(file_exists($database) and
is_file($database)) 
else
 

Function Documentation

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

Variable Documentation

$cli = eZCLI::instance()
$db
Initial value:
true )
static instance($databaseImplementation=false, $databaseParameters=false, $forceNewInstance=false)
Returns a shared instance of the eZDBInterface class aka database object.
Definition: ezdb.php:117
$parameters
Definition: ezsqlinsertschema.php:181
$type
Definition: ezsqldumpschema.php:61
if (!is_object($db)) if (!$db or!$db->isConnected()) $dbSchema = eZDbSchema::instance( $db )
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'] )
switch(count($options['arguments'])) $includeSchema
Definition: ezsqldumpschema.php:91
$includeData
Definition: ezsqldumpschema.php:92
$options
Definition: adddefaultstates.php:31
$host = $options['host']
$options
if ($options['no-sort']) $outputType = 'serialized'
$password = $options['password']
$script
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 ) )
static instance($settings=array())
Returns a shared instance of the eZScript class.
Definition: ezscript.php:1084
$socket = $options['socket']
$type = $options['type']

Referenced by eZURLAliasML\actionToUrl(), eZSession\addCallback(), eZPHPCreator\addInclude(), eZMultiPrice\addPrice(), eZInformationCollection\allowAnonymous(), eZPackage\appendFile(), eZPackage\appendInstall(), eZPackage\appendProvides(), eZUser\authenticateHash(), eZImageObject\calculateAxisPlacement(), eZDateTimeType\classAttributeContent(), eZSearchEngine\constructMethodName(), eZPgsqlSchema\convertFromStandardType(), eZPgsqlSchema\convertToStandardType(), eZLocale\countryFile(), eZPHPMath\create(), eZMultiPriceData\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(), eZStepSiteDetails\display(), eZInformationCollection\displayHandling(), eZMultiPrice\DOMDocument(), eZPackage\domStructure(), eZModuleOperationInfo\executeBody(), eZPDFTable\extractFunction(), eZCodeMapper\extractUnicodeValue(), eZCodeMapper\extractUnicodeValues(), eZMultiPrice\exVATPriceList(), eZContentObjectPackageInstaller\eZContentObjectPackageInstaller(), eZDisplayDebug(), Cezpdf\ezImage(), eZMimeType\eZMimeType(), eZPackageInstallationHandler\eZPackageInstallationHandler(), eZSetupCheckExecutable(), eZSetupCheckTestFunctions(), eZSetupConfigVariable(), eZSetupConfigVariableArray(), eZSetupImageConfigVariableArray(), eZSetupTestComponentsVersion(), eZSetupTestDirectoryPermissions(), eZSetupTestExecutionTime(), eZSetupTestExtension(), eZSetupTestFilePermissions(), eZSetupTestFunctionExists(), eZSetupTestMemLimit(), eZSetupTestPhpVersion(), eZWorkflowType\eZWorkflowType(), eZMultiPriceData\fetch(), eZStepSiteTypes\fetchAvailablePackages(), eZIniSettingType\fetchClassAttributeHTTPInput(), eZObjectRelationListType\fetchClassAttributeHTTPInput(), eZPackage\fetchPackages(), eZContentFunctionCollection\fetchSameClassAttributeNodeList(), eZFilePackageHandler\fileExists(), filePathForBinaryFile(), eZPackage\fileStorePath(), eZPolicyLimitation\findByType(), eZExtension\findExtensionType(), eZMultiPriceType\fromString(), eZRemoteIdUtility\generate(), eZRSSExport\generateFeed(), eZMysqlSchema\generateFieldDef(), eZCodeMapper\generateSimpleMappingTable(), eZDBInterface\generateSQLINStatement(), generateUniqueVatTypeName(), ezpAttributeOperatorFormatter\getType(), eZBinaryFileHandler\handleDownload(), eZXMLInputParser\handleError(), handleMessageNode(), eZFilePackageHandler\handleParameters(), eZUser\hashType(), eZDBInterface\implodeWithTypeCast(), eZMultiPrice\incVATPriceList(), eZTemplateTextOperator\indentTransformation(), eZXMLText\inputHandler(), eZDBInterface\insertFile(), eZBinaryFileType\insertRegularFile(), eZMediaType\insertRegularFile(), eZPackage\installItem(), eZPackage\installItemsList(), eZCollaborationViewHandler\instance(), eZDebug\isLogFileEnabled(), eZShopFunctions\isMultiPriceClass(), eZShopFunctions\isMultiPriceProductType(), eZShopFunctions\isProductClass(), eZShopFunctions\isProductObject(), eZShopFunctions\isSimplePriceClass(), eZShopFunctions\isSimplePriceProductType(), eZLocale\languageFile(), ezpAttributeOperatorTextFormatter\line(), ezpAttributeOperatorHTMLFormatter\line(), eZNotificationEventType\loadAndRegisterAllTypes(), eZWorkflowType\loadAndRegisterAllTypes(), eZDataType\loadAndRegisterAllTypes(), eZNotificationEventType\loadAndRegisterType(), eZWorkflowType\loadAndRegisterType(), eZDataType\loadAndRegisterType(), loadDatabaseSchema(), eZLocale\localeFile(), eZSiteAccess\match(), eZWordToImageOperator\modify(), eZTemplateLocaleOperator\modify(), eZTemplateStringOperator\modify(), eZOrder\orderInfo(), ezpAutoloadCliOutput\outputCli(), eZXMLText\outputHandler(), eZTemplateMultiPassParser\parseIntoTextElements(), eZTemplateMultiPassParser\parseIntoTree(), eZCodeMapper\parseTransformationFile(), eZPgsqlSchema\parseType(), eZUserOperationCollection\password(), eZDir\path(), eZMultiPrice\priceByCurrency(), eZMultiPrice\priceList(), eZDebug\printReportInternal(), eZShopFunctions\productTypeByClass(), eZInformationCollection\redirectURL(), eZWorkflowType\registerType(), eZFilePackageHandler\roleExists(), ezpMvcConfiguration\runCustomFilters(), eZInformationCollection\sendOutEmail(), eZDir\separator(), eZPackageType\serializeContentClassAttribute(), eZIniSettingType\serializeContentClassAttribute(), eZMediaType\serializeContentClassAttribute(), eZObjectRelationListType\serializeContentClassAttribute(), eZMail\setBody(), eZMail\setContentType(), eZTemplateDesignResource\setDesignSetting(), eZDebug\setHandleType(), eZDebug\setIsLogFileEnabled(), eZDebug\setLogFileEnabled(), eZMultiPrice\setPriceByCurrency(), eZCurrencyConverter\setRoundingType(), 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(), validate(), eZTemplateStringOperator\wash(), and eZTemplateStringOperator\washTransformation().

$user = $options['user']
if (file_exists($database) and is_file($database)) else
Initial value:
{
if ( strlen( trim( $user ) ) == 0)
{
$cli->error( "No database user chosen" );
$script->shutdown( 1 );
}
$parameters = array( 'use_defaults' => false,
'server' => $host,
'user' => $user,
'password' => $password,
'database' => $database )
$user
Definition: ezconvertmysqltabletype.php:40
$password
Definition: ezconvertmysqltabletype.php:42
$database
Definition: ezconvertmysqltabletype.php:43
$host
Definition: ezconvertmysqltabletype.php:39
$parameters
Definition: ezsqlinsertschema.php:181
$cli
Definition: adddefaultstates.php:14
$script
Definition: adddefaultstates.php:22