eZPublish  4.4
initurlaliasmlid.php File Reference

Variables

 $argumentConfig = ''
 
 $arguments = false
 
 $autoInc = $maxID + 1
 
 $cli = eZCLI::instance()
 
 $config = ''
 
 $db = eZDB::instance()
 
 $maxID = (int)$maxIDs[0]
 
 $maxIDs = $db->arrayQuery( 'SELECT MAX( id ) AS max_id FROM ezurlalias_ml', array( 'column' => 'max_id' ) )
 
 $optionHelp = false
 
 $options = $script->getOptions( $config, $argumentConfig, $optionHelp, $arguments, $useStandardOptions )
 
 $script = eZScript::instance( $scriptSettings )
 
 $scriptSettings = array()
 
 $scriptSettings ['description'] = 'Initialize the ezurlalias_ml_incr table'
 
 $scriptSettings ['use-session'] = true
 
 $scriptSettings ['use-modules'] = true
 
 $scriptSettings ['use-extensions'] = true
 
 $useStandardOptions = true
 
if($db instanceof eZMySQLDB||$db
instanceof eZMySQLiDB) else if($db
instanceof eZOracleDB) 
else
 

Variable Documentation

$argumentConfig = ''
$arguments = false
$autoInc = $maxID + 1
$cli = eZCLI::instance()
$config = ''
$db = eZDB::instance()
$maxID = (int)$maxIDs[0]
$maxIDs = $db->arrayQuery( 'SELECT MAX( id ) AS max_id FROM ezurlalias_ml', array( 'column' => 'max_id' ) )
$optionHelp = false
$options = $script->getOptions( $config, $argumentConfig, $optionHelp, $arguments, $useStandardOptions )
$script = eZScript::instance( $scriptSettings )
$scriptSettings = array()
$scriptSettings['description'] = 'Initialize the ezurlalias_ml_incr table'
$scriptSettings['use-session'] = true
$scriptSettings['use-modules'] = true
$scriptSettings['use-extensions'] = true
$useStandardOptions = true
if ($db instanceof eZMySQLDB||$db instanceof eZMySQLiDB) else if ($db instanceof eZOracleDB) else
Initial value:
{
$db->query( "DROP SEQUENCE ezurlalias_ml_incr_s" )
$db
Definition: adddefaultstates.php:28