eZPublish  3.8
updatetoplevel.php File Reference

Functions

 upgradeMenuINI ($menuGroup, $newNodeID)
 

Variables

 $checkNodes
 
 $class = eZContentClass::fetchByIdentifier( $contentClassIdentifier )
 
 $cli =& eZCLI::instance()
 
 $contentClassIdentifier = 'folder'
 
 $contentINI =& eZINI::instance( 'content.ini' )
 
 $db =& eZDB::instance()
 
 $i = 0
 
 $options
 
 $script
 
 $sectionID = 1
 
 $sections = eZSection::fetchList()
 
 $storeContentINI = false
 
 $userID = 14
 

Function Documentation

upgradeMenuINI (   $menuGroup,
  $newNodeID 
)

Variable Documentation

$checkNodes
Initial value:
= array( array( 'Content', 'RootNode', '', 'Standard section', 'ezcontentnavigationpart', false ),
array( 'Users', 'UserRootNode', 'users', 'Users', 'ezusernavigationpart', true ),
array( 'Media', 'MediaRootNode', 'media', 'Media', 'ezmedianavigationpart', true ),
array( 'Design', 'DesignRootNode', 'design', 'Design', 'ezvisualnavigationpart', true ),
array( 'Setup', 'SetupRootNode', 'setup', 'Setup', 'ezsetupnavigationpart', true ) )
$class = eZContentClass::fetchByIdentifier( $contentClassIdentifier )
$cli =& eZCLI::instance()
$contentINI =& eZINI::instance( 'content.ini' )
$db =& eZDB::instance()
$i = 0
$options
Initial value:
= $script->getOptions( "[class-identifier:]", "",
array( 'class-identifier' => "Which class to create top level nodes from, default is 'folder'" ) )
$script
Definition: clusterize.php:132
$script
Initial value:
=& eZScript::instance( array( 'description' => ( "eZ publish Top Level Nodes Creator\n\n" .
"This script will create the top level nodes that are missing,\n" .
"\n" .
"updatetoplevel.php" ),
'use-session' => false,
'use-modules' => true,
'use-extensions' => true ) )
& instance($settings=array())
Definition: ezscript.php:1011
$sectionID = 1
$storeContentINI = false
$userID = 14