eZPublish  4.4
updatevatcountries.php File Reference

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()
$countries = $db->arrayQuery( "SELECT country_code from ezvatrule;" )
$db = eZDB::instance()
$options = $script->getOptions( )
$script
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 ) )
static instance($settings=array())
Returns a shared instance of the eZScript class.
Definition: ezscript.php:1056
$updatedRules = 0