TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
DirectoryViewHelper Class Reference
Inheritance diagram for DirectoryViewHelper:
AbstractMenuViewHelper AbstractViewHelper

Public Member Functions

 initializeArguments ()
 
 render ()
 
- Public Member Functions inherited from AbstractViewHelper
 setRenderingContext (\TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectReflectionService (\TYPO3\CMS\Extbase\Reflection\ReflectionService $reflectionService)
 
 prepareArguments ()
 

Protected Attributes

 $escapeOutput = false
 
- Protected Attributes inherited from AbstractViewHelper
 $controllerContext
 
 $objectManager
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractMenuViewHelper
 getPageConstraints ($includeNotInMenu=false, $includeMenuSeparator=false)
 
 getPageUids (array $pageUids, $entryLevel=0)
 
 renderChildrenWithVariables (array $variables)
 
 getTypoScriptFrontendController ()
 
- Protected Member Functions inherited from AbstractViewHelper
 callRenderMethod ()
 
 getLogger ()
 
 registerRenderMethodArguments ()
 

Detailed Description

A view helper which returns the subpages of the given pages

= Example =

<ce:menu.directory pageUids="{0: 1, 1: 2}" as="pages"> <f:for each="{pages}" as="page"> {page.title} </f:for> </ce:menu.directory>

<output> Subpage 1 of page with uid = 1 Subpage 2 of page with uid = 1 Subpage 1 of page with uid = 2 </output>

Definition at line 36 of file DirectoryViewHelper.php.

Member Function Documentation

initializeArguments ( )

Initialize ViewHelper arguments

Returns
void

Definition at line 50 of file DirectoryViewHelper.php.

Member Data Documentation

$escapeOutput = false
protected

Definition at line 43 of file DirectoryViewHelper.php.