TYPO3
7.6
|
Public Member Functions | |
getLabel () | |
setLabel ($label) | |
getId () | |
setId ($id) | |
getIcon () | |
setIcon ($icon) | |
getClass () | |
setClass ($class) | |
getCallbackAction () | |
setCallbackAction ($callbackAction) | |
getType () | |
setType ($type) | |
getChildActions () | |
setChildActions (\TYPO3\CMS\Backend\ContextMenu\ContextMenuActionCollection $actions) | |
hasChildActions () | |
setCustomAttributes (array $customAttributes) | |
getCustomAttributes () | |
toArray () | |
Protected Attributes | |
$label = '' | |
$id = '' | |
$icon = '' | |
$class = '' | |
$callbackAction = '' | |
$type = '' | |
$childActions = null | |
$customAttributes = array() | |
Context Menu Action
Definition at line 20 of file ContextMenuAction.php.
getCallbackAction | ( | ) |
Returns the callback action
Definition at line 169 of file ContextMenuAction.php.
References ContextMenuAction\$callbackAction.
Referenced by ContextMenuAction\toArray().
getChildActions | ( | ) |
Returns the child actions
Definition at line 210 of file ContextMenuAction.php.
References ContextMenuAction\$childActions.
getClass | ( | ) |
Returns the class
Definition at line 146 of file ContextMenuAction.php.
References ContextMenuAction\$class, and GeneralUtility\logDeprecatedFunction().
getCustomAttributes | ( | ) |
Returns the custom attributes
Definition at line 255 of file ContextMenuAction.php.
References ContextMenuAction\$customAttributes.
Referenced by ContextMenuAction\toArray().
getIcon | ( | ) |
Returns the icon
Definition at line 124 of file ContextMenuAction.php.
References ContextMenuAction\$icon.
Referenced by ContextMenuAction\toArray().
getId | ( | ) |
Returns the identifier
Definition at line 104 of file ContextMenuAction.php.
References ContextMenuAction\$id.
Referenced by ContextMenuAction\toArray().
getLabel | ( | ) |
Returns the label
Definition at line 84 of file ContextMenuAction.php.
References ContextMenuAction\$label.
Referenced by ContextMenuAction\toArray().
getType | ( | ) |
Returns the type
Definition at line 189 of file ContextMenuAction.php.
References ContextMenuAction\$type.
Referenced by ContextMenuAction\toArray().
hasChildActions | ( | ) |
Returns TRUE if the action has child actions
Definition at line 231 of file ContextMenuAction.php.
Referenced by ContextMenuAction\toArray().
setCallbackAction | ( | $callbackAction | ) |
Sets the callback action
string | $callbackAction |
Definition at line 179 of file ContextMenuAction.php.
References ContextMenuAction\$callbackAction.
setChildActions | ( | \TYPO3\CMS\Backend\ContextMenu\ContextMenuActionCollection | $actions | ) |
Sets the child actions
\TYPO3\CMS\Backend\ContextMenu\ContextMenuActionCollection | $actions |
Definition at line 221 of file ContextMenuAction.php.
setClass | ( | $class | ) |
Sets the class
string | $class |
Definition at line 158 of file ContextMenuAction.php.
References ContextMenuAction\$class, and GeneralUtility\logDeprecatedFunction().
setCustomAttributes | ( | array | $customAttributes | ) |
Sets the custom attributes
array | $customAttributes |
Definition at line 245 of file ContextMenuAction.php.
References ContextMenuAction\$customAttributes.
setIcon | ( | $icon | ) |
Sets the icon
string | $icon |
Definition at line 135 of file ContextMenuAction.php.
References ContextMenuAction\$icon.
setId | ( | $id | ) |
Sets the identifier
string | $id |
Definition at line 114 of file ContextMenuAction.php.
References ContextMenuAction\$id.
setLabel | ( | $label | ) |
Sets the label
string | $label |
Definition at line 94 of file ContextMenuAction.php.
References ContextMenuAction\$label.
setType | ( | $type | ) |
Sets the type
string | $type |
Definition at line 200 of file ContextMenuAction.php.
References ContextMenuAction\$type.
toArray | ( | ) |
Returns the action as an array
Definition at line 265 of file ContextMenuAction.php.
References ContextMenuAction\getCallbackAction(), ContextMenuAction\getCustomAttributes(), ContextMenuAction\getIcon(), ContextMenuAction\getId(), ContextMenuAction\getLabel(), ContextMenuAction\getType(), and ContextMenuAction\hasChildActions().
|
protected |
Definition at line 56 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getCallbackAction(), and ContextMenuAction\setCallbackAction().
|
protected |
Definition at line 70 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getChildActions().
|
protected |
Definition at line 49 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getClass(), and ContextMenuAction\setClass().
|
protected |
Definition at line 77 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getCustomAttributes(), and ContextMenuAction\setCustomAttributes().
|
protected |
Definition at line 41 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getIcon(), and ContextMenuAction\setIcon().
|
protected |
Definition at line 34 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getId(), and ContextMenuAction\setId().
|
protected |
Definition at line 27 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getLabel(), and ContextMenuAction\setLabel().
|
protected |
Definition at line 63 of file ContextMenuAction.php.
Referenced by ContextMenuAction\getType(), and ContextMenuAction\setType().