Свойство | Тип | Описание | |
---|---|---|---|
$pageService | |||
$tagName | string |
Метод | Описание | |
---|---|---|
backupVariables ( ) | Saves copies of all template variables while rendering the menu | |
getArguments ( ) : array | ||
getMenu ( null | integer $pageUid = null, integer $entryLevel ) : array | ||
getWrappingTagName ( ) : string | Returns the wrapping tag to use | |
initializeArguments ( ) : void | Initialize | |
injectPageService ( |
||
isNonWrappingMode ( ) : boolean | Returns TRUE for non-wrapping mode which is triggered by setting tagNameChildren to 'a' | |
parseMenu ( array $pages ) : array | ||
processPagesArgument ( mixed $pages = null ) : array | Returns array of page UIDs from provided pages | |
render ( ) : string | ||
renderContent ( array $menu ) : string | Renders the tag's content or if omitted auto renders the menu for the provided arguments | |
restoreVariables ( ) | Restores all saved template variables | |
setOriginal ( boolean $original ) |
Метод | Описание | |
---|---|---|
autoRender ( array $menu, integer $level = 1 ) : string | ||
cleanTemplateVariableContainer ( ) | ||
cleanupSubmenuVariables ( ) | ||
determineParentPageUid ( null | integer $pageUid = null, integer $entryLevel ) : null | integer | ||
getItemTitle ( array $page ) : string | ||
initalizeSubmenuVariables ( ) | Initialize variables used by the submenu instance recycler. Variables set here may be read by the Page / Menu / Sub ViewHelper which then automatically repeats rendering using the exact same arguments but with a new page UID as starting page. | |
renderItemLink ( array $page ) : string | ||
retrieveReconfiguredParentMenuInstance ( integer $pageUid ) : |
Retrieves a stored, if any, parent instance of a menu. Although only implemented by the Page / Menu / Sub ViewHelper, placing this method in this abstract class instead will allow custom menu ViewHelpers to work as sub menu ViewHelpers without being forced to implement their own variable retrieval or subclass Page / Menu / Sub. | |
unsetDeferredVariableStorage ( ) |
public backupVariables ( ) |
protected getItemTitle ( array $page ) : string | ||
$page | array | |
Результат | string |
public getWrappingTagName ( ) : string | ||
Результат | string |
public initializeArguments ( ) : void | ||
Результат | void |
public injectPageService ( |
||
$pageService |
public isNonWrappingMode ( ) : boolean | ||
Результат | boolean |
public processPagesArgument ( mixed $pages = null ) : array | ||
$pages | mixed | |
Результат | array |
public renderContent ( array $menu ) : string | ||
$menu | array | |
Результат | string |
protected renderItemLink ( array $page ) : string | ||
$page | array | |
Результат | string |
public restoreVariables ( ) |
protected retrieveReconfiguredParentMenuInstance ( integer $pageUid ) : |
||
$pageUid | integer | UID of page that's the new parent page, overridden in arguments of cloned and recycled menu ViewHelper instance |
Результат |
protected PageService,FluidTYPO3\Vhs\Service $pageService | ||
Результат |