Render links to actions of group item. More...
Static Public Member Functions | |
static | renderWidget (\Duf::Form $form, $template_engine, $widget_conf) |
Render the widget. More... | |
Static Protected Member Functions | |
static | renderActions ($widget_conf, $actions, $item, $action_names) |
static | renderAction ($action_name, $action, $item) |
Render links to actions of group item.
Expects 'item_actions' option specified in group configuration.
Example – fragment of field group configuration:
"item_actions": { "action": { "label": "Action label", "link": "/type/{id}!action" } }
|
static |
Render the widget.
$form | is the Form. |
$template_engine | is templating engine which may be used for rendering (optional). |
$widget_conf | is configuration of the widget. It must contain `'#!'` key to determine next renderer. |
Implements IWidgetRenderer.