eZPublishCommunityProject(LegacyStack)  2013.5
treemenu.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

if($contentstructuremenuINI->
variable( 'TreeMenu', 'Dynamic')!=
'enabled') 
$accessName = false
 
if($sortBy &&$sortBy!= 'false') $children = $node->subTree( $conditions )
 
 $codec = eZTextCodec::instance( $httpCharset, 'unicode' )
 
 $contentstructuremenuINI = eZINI::instance( 'contentstructuremenu.ini' )
 
 $createHereMenu = $contentstructuremenuINI->variable( 'TreeMenu', 'CreateHereMenu' )
 
 $handler = false
 
foreach($children as $child) $httpCharset = eZTextCodec::httpCharset()
 
 $jsonText = json_encode( $response )
 
 $jsonTextArray = $codec->convertString( $jsonText )
 
if($showClasses) $limit = $contentstructuremenuINI->variable( 'TreeMenu', 'MaxNodes' )
 
 $limitedAssignmentValueList = implode( ',', $user->limitValueList() )
 
if($contentstructuremenuINI->
variable( 'TreeMenu',
'UseCache')== 'enabled'and
$siteINI->variable(
'TemplateSettings',
'TemplateCache')== 'enabled') 
$node = eZContentObjectTreeNode::fetch( $nodeID )
 
if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])&&$useCacheHeaders) $nodeID = (int) $Params['NodeID']
 
 $response = array()
 
 $response ['error_code'] = 0
 
 $response ['node_id'] = $node->NodeID
 
 $response ['children_count'] = count( $children )
 
 $response ['children'] = array()
 
if(!defined( 'MAX_AGE')) $Result ['pagelayout'] = false
 
foreach($jsonTextArray as
$character) if($useCacheHeaders) 
$Result ['lastModified'] = new DateTime( "@$node->ModifiedSubNode" )
 
 $Result ['content'] = $jsonText
 
 $roleList = implode( ',', $user->roleIDList() )
 
 $showClasses = $contentstructuremenuINI->variable( 'TreeMenu', 'ShowClasses' )
 
 $showHidden = $siteINI->variable( 'SiteAccessSettings', 'ShowHiddenNodes' ) == 'true'
 
 $siteINI = eZINI::instance()
 
if($limit$sortBy = $contentstructuremenuINI->variable( 'TreeMenu', 'SortBy' )
 
 $useCacheHeaders = isset( $UserParameters['use-cache-headers'] ) ? (bool)$UserParameters['use-cache-headers'] : true
 
if(isset($GLOBALS['eZCurrentAccess']['name'])) $user = eZUser::currentUser()
 
if(!$node) else if(!$node->
canRead()) 
else
 

Variable Documentation

if ($contentstructuremenuINI->variable( 'TreeMenu', 'Dynamic')!= 'enabled') $accessName = false
if ($sortBy &&$sortBy!= 'false') $children = $node->subTree( $conditions )
$contentstructuremenuINI = eZINI::instance( 'contentstructuremenu.ini' )
$createHereMenu = $contentstructuremenuINI->variable( 'TreeMenu', 'CreateHereMenu' )
$handler = false

Referenced by eZExecution\addCleanupHandler(), eZExecution\addFatalErrorHandler(), eZImageManager\appendImageHandler(), eZContentClassAttribute\cachedInfo(), eZContentClass\canInstantiateClassList(), eZUserLoginHandler\checkUser(), eZContentClassAttribute\classAttributeIdentifiersHash(), eZContentClass\classIdentifiersHash(), eZExecution\cleanup(), eZNotificationEventFilter\cleanup(), eZUser\cleanupCache(), eZCache\clearActiveExtensions(), eZCache\clearContentCache(), eZCache\clearItem(), eZCache\clearUserInfoCache(), eZGZIPCompressionHandler\compressionLevel(), eZCollaborationItem\content(), eZCollaborationItem\contentAttribute(), eZImageManager\convert(), eZNotificationCollection\create(), eZPackage\create(), eZPackage\createDependencyText(), eZPackage\createDependencyTree(), eZImageShellHandler\createFromINI(), eZImageGDHandler\createFromINI(), eZPackage\createInstallTree(), eZCollaborationItem\createNotificationEvent(), eZPackageCreationHandler\creatorList(), eZFSFileHandler\delete(), eZNotificationFunctionCollection\digestItems(), eZBinaryFileType\editTemplate(), eZContentObject\expireAllCache(), eZContentObject\expireAllViewCache(), eZURLWildcard\expireCache(), eZTSTranslator\expireCache(), eZContentClassAttribute\expireCache(), eZContentObject\expireComplexViewModeCache(), eZContentObject\expireTemplateBlockCache(), eZURLWildcard\expiryTimestamp(), eZForwardCompressionHandler\eZForwardCompressionHandler(), eZGZIPCompressionHandler\eZGZIPCompressionHandler(), eZNotificationCollection\fetchForHandler(), eZUserDiscountRule\fetchIDListByUserID(), eZGeneralDigestHandler\fetchItemsForUser(), eZCollaborationItemHandler\fetchList(), eZNotificationCollection\fetchListForHandler(), eZFSFileHandler\fileDelete(), eZContentUpload\findHandler(), eZTranslatorGroup\findKey(), eZTranslatorManager\findKey(), eZTranslatorGroup\findMessage(), eZTranslatorManager\findMessage(), eZExtension\getHandlerClass(), eZSession\getHandlerInstance(), eZShippingManager\getShippingInfo(), eZExpiryHandler\getTimestamp(), eZVATManager\getVAT(), eZContentUpload\handleLocalFile(), eZTemplateFileResource\handleResourceData(), eZContentUpload\handleUpload(), eZCollaborationItem\handleView(), eZCollaborationItem\hasContentAttribute(), eZImageType\hasObjectAttributeContent(), eZBinaryFileType\informationTemplate(), eZImageType\insertHTTPFile(), eZImageType\insertRegularFile(), eZPackage\installItem(), eZClusterFileHandler\instance(), eZPackageInstallationHandler\instance(), eZPackageCreationHandler\instance(), eZCollaborationItemHandler\instantiate(), eZContentObject\isCacheExpired(), eZContentObject\isComplexViewModeCacheExpired(), eZTranslatorGroup\keyTranslate(), eZTranslatorManager\keyTranslate(), eZContentObjectStateGroup\limitations(), eZCollaborationItem\messageCount(), eZPackage\packageHandler(), eZPackage\parseDependencyTree(), eZPackage\parseInstallTree(), eZNotificationEventFilter\process(), eZShippingManager\purgeShippingInfo(), eZImageAnalyzer\readAnalyzerSettingsFromINI(), eZSession\registerFunctions(), eZTranslatorGroup\registerHandler(), eZTranslatorManager\registerHandler(), eZImageAliasHandler\removeAllAliases(), eZRole\revertFromTemporaryVersion(), eZContentOperationCollection\sendToPublishingQueue(), eZUserLoginHandler\sessionCleanup(), eZGZIPCompressionHandler\setCompressionLevel(), eZCurrencyConverter\setMathHandler(), eZUserDiscountRule\store(), eZContentObjectStateGroup\store(), eZContentClass\store(), eZContentClass\storeVersioned(), eZCollaborationItem\title(), eZTranslatorGroup\translate(), eZTranslatorManager\translate(), eZExecution\uncleanShutdownHandler(), eZPackage\uninstallItem(), eZCollaborationItem\unreadMessageCount(), eZShopFunctions\updateAutoRates(), eZShippingManager\updatePriceInfo(), eZShippingManager\updateShippingInfo(), eZCollaborationItem\useMessages(), eZUser\userInfoExpiry(), and eZBinaryFileType\viewTemplate().

foreach ($children as $child) $httpCharset = eZTextCodec::httpCharset()

Referenced by eZPDF\modify().

$jsonText = json_encode( $response )
$jsonTextArray = $codec->convertString( $jsonText )
if ($showClasses) $limit = $contentstructuremenuINI->variable( 'TreeMenu', 'MaxNodes' )
$limitedAssignmentValueList = implode( ',', $user->limitValueList() )
if ($contentstructuremenuINI->variable( 'TreeMenu', 'UseCache')== 'enabled'and $siteINI->variable( 'TemplateSettings', 'TemplateCache')== 'enabled') $node = eZContentObjectTreeNode::fetch( $nodeID )
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])&&$useCacheHeaders) $nodeID = (int) $Params['NodeID']
$response['error_code'] = 0
$response['node_id'] = $node->NodeID
$response['children_count'] = count( $children )
$response['children'] = array()
if (!defined( 'MAX_AGE')) $Result['pagelayout'] = false
foreach ($jsonTextArray as $character) if ($useCacheHeaders) $Result['lastModified'] = new DateTime( "@$node->ModifiedSubNode" )
$Result['content'] = $jsonText
$showClasses = $contentstructuremenuINI->variable( 'TreeMenu', 'ShowClasses' )
$showHidden = $siteINI->variable( 'SiteAccessSettings', 'ShowHiddenNodes' ) == 'true'
$useCacheHeaders = isset( $UserParameters['use-cache-headers'] ) ? (bool)$UserParameters['use-cache-headers'] : true
if (isset($GLOBALS['eZCurrentAccess']['name'])) $user = eZUser::currentUser()
if (!$node) else if (!$node->canRead()) else
Initial value:
{
$conditions = array( 'Depth' => '1',
'SortBy' => $node->sortArray() )
$node
Definition: ezcsvexport.php:55
foreach($relatedRecordsList as $relatedEntry) $conditions
Definition: ezsubtreecopy.php:434