eZPublish  3.8
visual/toolbar.php File Reference

Functions

 removeRelatedCache ($siteAccess)
 

Variables

 $checkCurrAction = false
 
 $currentAction = $module->currentAction()
 
 $currentSiteAccess = ( $Params['SiteAccess'] ) ? $Params['SiteAccess'] : false
 
 $http =& eZHTTPTool::instance()
 
 $ini =& eZINI::instance( "toolbar.ini", 'settings', null, false, null, false )
 
 $iniAppend =& eZINI::instance( 'toolbar.ini.append', $iniPath, null, false, null, true )
 
 $iniPath = eZSiteAccess::findPathToSiteAccess( $currentSiteAccess )
 
 $module =& $Params["Module"]
 
 $removeCache = false
 
 $Result = array()
 
 $Result ['content'] =& $tpl->fetch( "design:visual/toolbar.tpl" )
 
 $Result ['path']
 
 $siteini =& eZINI::instance()
 
if($iniAppend->hasVariable("Toolbar_".$toolbarPosition,"Tool"))
else if($ini->hasVariable("Toolbar_".$toolbarPosition,"Tool")) 
$storeList = false
 
 $toolArray = array()
 
foreach(array_keys($toolArray)
as $toolKey) if($storeList) if($removeCache) 
$toolbarIni =& eZINI::instance( "toolbar.ini", 'settings', null, false, true, false )
 
 $toolbarPosition = ( $Params['Position'] ) ? $Params['Position'] : false
 
if($currentAction==
'BackToToolbars') elseif($currentAction==
'SelectToolbarNode') elseif($currentAction==
'SelectToolbarNodePath')
elseif($currentAction==
'NewTool'||$currentAction==
'UpdatePlacement'||$currentAction==
'Browse'||$currentAction==
'Remove') elseif($currentAction==
'Store') 
$toolList = array()
 
if($toolbarIni->hasVariable("Tool","AvailableToolArray")) $tpl =& templateInit()
 

Function Documentation

removeRelatedCache (   $siteAccess)

Variable Documentation

$checkCurrAction = false
$currentAction = $module->currentAction()
$ini =& eZINI::instance( "toolbar.ini", 'settings', null, false, null, false )
$iniAppend =& eZINI::instance( 'toolbar.ini.append', $iniPath, null, false, null, true )
$iniPath = eZSiteAccess::findPathToSiteAccess( $currentSiteAccess )
$module =& $Params["Module"]
$removeCache = false
$Result = array()
$Result['content'] =& $tpl->fetch( "design:visual/toolbar.tpl" )
$Result['path']
Initial value:
= array( array( 'url' => 'visual/toolbarlist',
'text' => ezi18n( 'kernel/design', 'Toolbar list' ) ) )
if ($iniAppend->hasVariable("Toolbar_".$toolbarPosition,"Tool")) else if ($ini->hasVariable("Toolbar_".$toolbarPosition,"Tool")) $storeList = false
foreach (array_keys($toolArray) as $toolKey) if ($storeList) if ($removeCache) $toolbarIni =& eZINI::instance( "toolbar.ini", 'settings', null, false, true, false )
$toolbarPosition = ( $Params['Position'] ) ? $Params['Position'] : false
if ($currentAction== 'BackToToolbars') elseif ($currentAction== 'SelectToolbarNode') elseif ($currentAction== 'SelectToolbarNodePath') elseif ($currentAction== 'NewTool'||$currentAction== 'UpdatePlacement'||$currentAction== 'Browse'||$currentAction== 'Remove') elseif ($currentAction== 'Store') $toolList = array()
if ($toolbarIni->hasVariable("Tool","AvailableToolArray")) $tpl =& templateInit()