PHP Class FluidTYPO3\Vhs\ViewHelpers\Condition\Page\HasSubpagesViewHelper

A condition ViewHelper which renders the then child if current page or page with provided UID has subpages. By default disabled subpages are considered non existent which can be overridden by setting $includeHidden to TRUE. To include pages that are hidden in menus set $showHiddenInMenu to TRUE.
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper, use trait FluidTYPO3\Vhs\Traits\ConditionViewHelperTrait
Afficher le fichier Open project: fluidtypo3/vhs

Protected Properties

Свойство Type Description
$pageService FluidTYPO3\Vhs\Service\PageService

Méthodes publiques

Méthode Description
initializeArguments ( ) Initialize arguments
setPageService ( PageService $pageService ) : void

Méthodes protégées

Méthode Description
evaluateCondition ( array $arguments = null ) : boolean

Method Details

evaluateCondition() protected static méthode

protected static evaluateCondition ( array $arguments = null ) : boolean
$arguments array
Résultat boolean

initializeArguments() public méthode

Initialize arguments
public initializeArguments ( )

setPageService() public static méthode

public static setPageService ( PageService $pageService ) : void
$pageService FluidTYPO3\Vhs\Service\PageService
Résultat void

Property Details

$pageService protected_oe static_oe property

protected static PageService,FluidTYPO3\Vhs\Service $pageService
Résultat FluidTYPO3\Vhs\Service\PageService