![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
main (&$backRef, $menuItems, $table, $uid) | |
includeLL () | |
Protected Attributes | |
$iconFactory | |
"Versioning" item added to click menu of elements.
Definition at line 25 of file VersionClickMenu.php.
__construct | ( | ) |
Initialize
Definition at line 35 of file VersionClickMenu.php.
References GeneralUtility\makeInstance().
includeLL | ( | ) |
Includes the [extDir]/locallang.xlf and returns the translations found in that file.
Definition at line 88 of file VersionClickMenu.php.
References $GLOBALS.
Referenced by VersionClickMenu\main().
main | ( | & | $backRef, |
$menuItems, | |||
$table, | |||
$uid | |||
) |
Main function, adding the item to input menuItems array
ClickMenu | $backRef | References to parent clickmenu objects. |
array | $menuItems | Array of existing menu items accumulated. New element added to this. |
string | $table | Table name of the element |
int | $uid | Record UID of the element |
Definition at line 49 of file VersionClickMenu.php.
References $GLOBALS, $url, VersionClickMenu\includeLL(), and Icon\SIZE_SMALL.
|
protected |
Definition at line 30 of file VersionClickMenu.php.