eZ Publish  [trunk]
updateisbn13.php File Reference

Go to the source code of this file.

Variables

 $cli = eZCLI::instance()
foreach($registrationGroups as
$group) 
$groupRanges = $xml->xpath( '///EAN.UCC/Rules/Rule' )
 $options
 $registrationGroups = $xml->xpath( 'RegistrationGroups/Group' )
 $script
 $url = ''
 This script updates the different ranges used by the ISBN standard to calculate the length of Registration group, Registrant and Publication element.
 $xml = simplexml_load_file( $url )

Variable Documentation

$cli = eZCLI::instance()

Definition at line 23 of file updateisbn13.php.

foreach ($registrationGroups as $group) $groupRanges = $xml->xpath( '///EAN.UCC/Rules/Rule' )

Definition at line 150 of file updateisbn13.php.

$options
Initial value:
 $script->getOptions( "[url:][db-host:][db-user:][db-password:][db-database:][db-driver:]",
                                "",
                                array( 'url' => "URL containing the xml file for the different ranges",
                                       'db-host' => "Database host.",
                                       'db-user' => "Database user.",
                                       'db-password' => "Database password.",
                                       'db-database' => "Database name.",
                                       'db-driver' => "Database driver." ) )

Definition at line 32 of file updateisbn13.php.

$registrationGroups = $xml->xpath( 'RegistrationGroups/Group' )

Definition at line 112 of file updateisbn13.php.

Initial value:
 eZScript::instance( array( 'description' => "eZ Publish ISBN-13 update\n\n" .
                                                      "Update the database with new updated ISBN data to the database.",
                                     'use-session' => false,
                                     'use-modules' => true,
                                     'use-extensions' => true ) )

Definition at line 24 of file updateisbn13.php.

$url = ''

This script updates the different ranges used by the ISBN standard to calculate the length of Registration group, Registrant and Publication element.

It gets the values from xml file normally provided by International ISBN Agency http://www.isbn-international.org/agency?rmxml=1

Definition at line 21 of file updateisbn13.php.

Referenced by eZURLAliasML\actionToUrl(), Cpdf\addLink(), eZStaticCache\cacheURL(), eZUserLoginHandler\checkUser(), eZURLAliasML\cleanURL(), eZURI\codecURL(), eZURL\create(), eZURI\decodeURL(), eZMimeType\defaultValue(), eZStepSiteTypes\downloadFile(), eZBinaryFileHandler\downloadURL(), eZURI\encodeURL(), eZURLWildcard\fetchBySourceURL(), eZURL\fetchByUrl(), eZRSSExport\fetchImageURL(), eZURLType\fetchObjectAttributeHTTPInput(), eZMimeType\findByBuffer(), eZMimeType\findByFileContents(), eZMimeType\findByURL(), eZAutoLinkOperator\formatUri(), eZURLType\fromString(), eZStaticCache\generateCache(), eZStepRegistration\generateRegistration(), eZHTTPTool\getDataByURL(), eZRSSImport\getRSSVersion(), eZURL\handleList(), eZURLType\hasObjectAttributeContent(), eZURLType\initializeObjectAttribute(), eZStepCreateSites\initializePackage(), ezpLanguageSwitcher\isUrlPointingToModule(), eZMimeType\mimeTypeFor(), eZTreeMenuOperator\modify(), eZURLOperator\modify(), eZURLType\objectAttributeContent(), eZXMLOutputHandler\prefetch(), eZWebDAVServer\processClientRequest(), ezpUrlObjectLinkUpdate\processData(), eZWebDAVServer\processURL(), eZWebDAVContentServer\processURL(), eZSimplifiedXMLInputParser\publishHandlerLink(), eZHTTPTool\redirect(), eZURL\registerURL(), eZURL\registerURLArray(), eZContentObject\removeTranslation(), eZStaticCache\removeURL(), eZURLAliasML\sanitizeURL(), eZURLType\serializeContentObjectAttribute(), eZSys\serverURL(), ezpLanguageSwitcher\setupTranslationSAList(), eZStepInstaller\siteaccessURLs(), eZStaticCache\storeCache(), eZURLType\toString(), eZXMLTextType\transformLinksToRemoteLinks(), eZURLType\unserializeContentObjectAttribute(), eZURL\url(), eZURL\urlByMD5(), eZURL\urlByURL(), eZRSSExport\urlEncodePath(), eZURLAliasML\urlToAction(), eZURLOperator\urlTransformation(), eZURLType\validateObjectAttributeHTTPInput(), and verifyData().

$xml = simplexml_load_file( $url )

Definition at line 98 of file updateisbn13.php.