TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractMenuViewHelper Class Reference
Inheritance diagram for AbstractMenuViewHelper:
AbstractViewHelper CategoriesViewHelper DirectoryViewHelper KeywordsViewHelper ListViewHelper SectionViewHelper UpdatedViewHelper

Protected Member Functions

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

Additional Inherited Members

- 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 inherited from AbstractViewHelper
 $controllerContext
 
 $objectManager
 

Detailed Description

Class AbstractMenuViewHelper

Definition at line 24 of file AbstractMenuViewHelper.php.

Member Function Documentation

getPageConstraints (   $includeNotInMenu = false,
  $includeMenuSeparator = false 
)
protected

Get the constraints for the page based on doktype and field "nav_hide"

By default the following doktypes are always ignored:

Optional are:

  • 199: Menu separator
  • nav_hide: Not in menu
Parameters
bool$includeNotInMenuShould pages which are hidden for menu's be included
bool$includeMenuSeparatorShould pages of type "Menu separator" be included
Returns
string

Definition at line 42 of file AbstractMenuViewHelper.php.

References PageRepository\DOKTYPE_BE_USER_SECTION, PageRepository\DOKTYPE_RECYCLER, PageRepository\DOKTYPE_SPACER, and PageRepository\DOKTYPE_SYSFOLDER.

Referenced by ListViewHelper\render(), UpdatedViewHelper\render(), DirectoryViewHelper\render(), and KeywordsViewHelper\render().

getPageUids ( array  $pageUids,
  $entryLevel = 0 
)
protected

Get a filtered list of page UIDs according to initial list of UIDs and entryLevel parameter.

Parameters
array$pageUids
int | null$entryLevel
Returns
array

Definition at line 67 of file AbstractMenuViewHelper.php.

References AbstractMenuViewHelper\getTypoScriptFrontendController().

Referenced by ListViewHelper\render(), and DirectoryViewHelper\render().

getTypoScriptFrontendController ( )
protected
renderChildrenWithVariables ( array  $variables)
protected