eZPublish  3.8
updateniceurls.php File Reference

Functions

if($siteAccess) changeSiteAccessSetting (&$siteaccess, $optionData)
 

Variables

 $cli =& eZCLI::instance()
 
 $db =& eZDb::instance()
 
 $dbHost = isset( $options['db-host'] ) && $options['db-host'] ? $options['db-host'] : false
 
 $dbImpl = $options['db-driver'] ? $options['db-driver'] : false
 
 $dbName = $options['db-database'] ? $options['db-database'] : false
 
 $dbPassword = $options['db-password'] ? $options['db-password'] : false
 
 $dbUser = $options['db-user'] ? $options['db-user'] : false
 
 $fetchLimit = 30
 
 $maxColumn = 72 - $percentLength - $timeLength
 
 $options
 
 $percentLength = 6
 
 $script
 
 $showSQL = $options['sql'] ? true : false
 
 $siteAccess = $options['siteaccess'] ? $options['siteaccess'] : false
 
 $timeLength = 12
 
 $topLevelNodesArray = $db->arrayQuery( 'SELECT node_id FROM ezcontentobject_tree WHERE depth = 1 ORDER BY node_id' )
 
 $totalChangedNodes = 0
 
 $totalNodeCount = 0
 

Function Documentation

if ($siteAccess) changeSiteAccessSetting ( $siteaccess,
  $optionData 
)

Variable Documentation

$cli =& eZCLI::instance()
$db =& eZDb::instance()
$dbHost = isset( $options['db-host'] ) && $options['db-host'] ? $options['db-host'] : false
$dbImpl = $options['db-driver'] ? $options['db-driver'] : false
$dbName = $options['db-database'] ? $options['db-database'] : false
$dbPassword = $options['db-password'] ? $options['db-password'] : false
$dbUser = $options['db-user'] ? $options['db-user'] : false
$fetchLimit = 30
$maxColumn = 72 - $percentLength - $timeLength
$options
Initial value:
= $script->getOptions( "[db-user:][db-password:][db-database:][db-type:|db-driver:][sql]",
"",
array( 'db-host' => "Database host",
'db-user' => "Database user",
'db-password' => "Database password",
'db-database' => "Database name",
'db-driver' => "Database driver",
'db-type' => "Database driver, alias for --db-driver",
'sql' => "Display sql queries"
) )
$script
Definition: clusterize.php:132
$percentLength = 6
$script
Initial value:
=& eZScript::instance( array( 'description' => ( "eZ publish nice url updater.\n\n" .
"Will go trough and remake all nice urls" .
"\n" .
"updateniceurls.php" ),
'use-session' => true,
'use-modules' => true,
'use-extensions' => true ) )
& instance($settings=array())
Definition: ezscript.php:1011
$showSQL = $options['sql'] ? true : false
$siteAccess = $options['siteaccess'] ? $options['siteaccess'] : false
$timeLength = 12
$topLevelNodesArray = $db->arrayQuery( 'SELECT node_id FROM ezcontentobject_tree WHERE depth = 1 ORDER BY node_id' )
$totalChangedNodes = 0
$totalNodeCount = 0