function filterMenuPages(&$data, $banUidArray, $spacer)
 {
     if ($data['_NOTVISIBLE']) {
         return false;
     } else {
         return parent::filterMenuPages($data, $banUidArray, $spacer);
     }
 }
 function filterMenuPages(&$data, $banUidArray, $spacer)
 {
     $includePage = TRUE;
     if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/tslib/class.tslib_menu.php']['filterMenuPages'])) {
         foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/tslib/class.tslib_menu.php']['filterMenuPages'] as $classRef) {
             $hookObject = t3lib_div::getUserObj($classRef);
             if (!$hookObject instanceof tslib_menu_filterMenuPagesHook) {
                 throw new UnexpectedValueException('$hookObject must implement interface tslib_menu_filterMenuPagesHook', 1251476766);
             }
             $includePage = $includePage && $hookObject->tslib_menu_filterMenuPagesHook($data, $banUidArray, $spacer, $this);
         }
     }
     if (!$includePage) {
         return false;
     } else {
         return parent::filterMenuPages($data, $banUidArray, $spacer);
     }
 }