eZ Publish  [4.0]
updatevatcountries.php File Reference

Go to the source code of this file.

Variables

 $cli = eZCLI::instance()
 $countries = $db->arrayQuery( "SELECT country_code from ezvatrule;" )
 $db = eZDB::instance()
 $iniCountries = eZCountryType::fetchCountryList()
 $options = $script->getOptions( )
 $script
 $updatedRules = 0

Variable Documentation

$cli = eZCLI::instance()

Definition at line 32 of file updatevatcountries.php.

$countries = $db->arrayQuery( "SELECT country_code from ezvatrule;" )
$db = eZDB::instance()

Definition at line 45 of file updatevatcountries.php.

$iniCountries = eZCountryType::fetchCountryList()

Definition at line 48 of file updatevatcountries.php.

$options = $script->getOptions( )

Definition at line 41 of file updatevatcountries.php.

Initial value:
 eZScript::instance( array( 'description' => ( "eZ Publish Country update script\n\n" .
                                                        "Upgrades db table in addition with upgrade from 3.9.2 to 3.9.3\n" .
                                                        "Fixes bug with aplying VAT rules" ),
                                      'use-session' => false,
                                      'use-modules' => true,
                                      'use-extensions' => true ) )

Definition at line 33 of file updatevatcountries.php.

$updatedRules = 0

Definition at line 50 of file updatevatcountries.php.