‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject:
TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject

Public Member Functions

string writeMenu ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject
bool start ($_, $sys_page, $id, $conf, int $menuNumber, string $objSuffix, ServerRequestInterface $request)
 
 makeMenu ()
 
 generate ()
 
bool filterMenuPages (&$data, $banUidArray, $isSpacerPage)
 
PageRepository getSysPage ()
 
ContentObjectRenderer getParentContentObject ()
 
 setParentMenu (array $menuArr, $menuItemKey)
 
array getParentMenuArr ()
 
array null getParentMenuItem ()
 

Protected Member Functions

string getBeforeAfter (string $pref, ContentObjectRenderer $cObjectForCurrentMenu)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject
 removeInaccessiblePages (array $pages)
 
array prepareMenuItems ()
 
array prepareMenuItemsForUserSpecificMenu ($specialValue, $sortingField)
 
array prepareMenuItemsForLanguageMenu ($specialValue)
 
 buildPageRepository (LanguageAspect $languageAspect=null)
 
array prepareMenuItemsForDirectoryMenu ($specialValue, $sortingField)
 
array prepareMenuItemsForListMenu ($specialValue)
 
array prepareMenuItemsForUpdatedMenu ($specialValue, $sortingField)
 
array prepareMenuItemsForKeywordsMenu ($specialValue, $sortingField)
 
array prepareMenuItemsForRootlineMenu ()
 
array prepareMenuItemsForBrowseMenu ($specialValue, $sortingField, $additionalWhere)
 
array processItemStates ($splitCount)
 
LinkResultInterface null link ($key, $altTarget, $typeOverride)
 
string subMenu (int $uid, string $objSuffix, int $menuItemKey)
 
bool isNext ($uid, $MPvar)
 
bool isActive (array $page, $MPvar)
 
bool isCurrent (array $page, $MPvar)
 
bool isSubMenu ($uid)
 
 getCacheIdentifierForSubMenuDecision ($uid)
 
bool isItemState ($kind, $key)
 
mixed userProcess ($mConfKey, $passVar)
 
 setATagParts (?LinkResultInterface $linkResult)
 
string getPageTitle ($title, $nav_title)
 
string getMPvar ($key)
 
string getDoktypeExcludeWhere ()
 
array getBannedUids ()
 
 menuTypoLink (array $page, string $oTarget, $addParams, $typeOverride, ?int $overridePageId=null)
 
array sectionIndex ($altSortField, $pid=null)
 
 getTypoScriptFrontendController ()
 
 getCurrentLanguageAspect ()
 
 getTimeTracker ()
 
 getCache ()
 
 getRuntimeCache ()
 
 getCurrentSite ()
 
bool hasParentMenuArr ()
 
 hasParentMenuItemKey ()
 
 hasParentMenuItem ()
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject
ContentObjectRenderer $parent_cObj
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject
int $menuNumber = 1
 
int $entryLevel = 0
 
int[] $excludedDoktypes = array( PageRepository::DOKTYPE_BE_USER_SECTION, PageRepository::DOKTYPE_SYSFOLDER )
 
int[] $alwaysActivePIDlist = array( )
 
string[] $MP_array = array( )
 
array $conf = array( )
 
array $mconf = array( )
 
PageRepository $sys_page
 
int $id
 
string $nextActive
 
array[] $menuArr
 
string $hash
 
array $result = array( )
 
array $rL_uidRegister
 
mixed[] $I
 
ServerRequestInterface $request
 
array $alternativeMenuTempArray = []
 
int null $parentMenuArrItemKey
 
array $parentMenuArr
 
bool $disableGroupAccessCheck = false
 
const customItemStates
 

Detailed Description

Extension class creating text based menus

Definition at line 25 of file TextMenuContentObject.php.

Member Function Documentation

◆ getBeforeAfter()

string TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject::getBeforeAfter ( string  $pref,
ContentObjectRenderer  $cObjectForCurrentMenu 
)
protected

Generates the before* and after* stdWrap for TMENUs Evaluates:

  • ‪before.stdWrap*
  • ‪beforeWrap
  • ‪after.stdWrap*
  • ‪afterWrap
Parameters
string$pref‪Can be "before" or "after" and determines which kind of stdWrap to process (basically this is the prefix of the TypoScript properties that are read from the ->I['val'] array
Returns
‪string The resulting HTML

Definition at line 156 of file TextMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\stdWrapValue(), and TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\wrap().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\writeMenu().

◆ writeMenu()

string TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject::writeMenu ( )