TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuFilterPagesHookInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuFilterPagesHookInterface:
tslib_menu_filterMenuPagesHook

Public Member Functions

 processFilter (array &$data, array $banUidArray, $spacer, \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! interface for classes which hook into AbstractMenuContentObject

Author
Tolleiv Nietsch niets.nosp@m.ch@a.nosp@m.oemed.nosp@m.ia.d.nosp@m.e

Definition at line 22 of file AbstractMenuFilterPagesHookInterface.php.

Member Function Documentation

◆ processFilter()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuFilterPagesHookInterface::processFilter ( array &  $data,
array  $banUidArray,
  $spacer,
\TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject  $obj 
)

Checks if a page is OK to include in the final menu item array.

Parameters
array$dataArray of menu items
array$banUidArrayArray of page uids which are to be excluded
boolean$spacerIf set, then the page is a spacer.
\TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject$objThe menu object
Returns
boolean Returns TRUE if the page can be safely included.