Project

General

Profile

Actions

Bug / Feature #727

closed

Action Module

Added by corvus almost 14 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
03 January 2011
Due date:
% Done:

100%

Estimated time:
Request Type:
Feature Request

Description

Intention

Actions are entry points for use cases. They are globally registered and can be displayed where ever they are needed in the template. Actions can be used to create a menu structure.

Model Action

Title

A short title.

Subtitle

Gives more inside what this action does. Displayed when there is more space.

Target

A route the the entry point of the use case.

Routes

A list of routes where this action will be displayed on.

Order

A value to sort the actions while displayed. Allowing to control in which order the actions are listed.

Parent

Allow to create a hierarchy.

Typ

Different types ar displayed differently.

Group

Allowing to group the actions

  • Normal: default behavior.
  • Category: Displayed without a link.
  • Spacer: Empty and displays some space between two elements

Behavior

It should be possible to display the action with something like

<?php echo Actions($config); ?>

$config is a associativ array defining the behavior.

Possible settings:

  • view: a view defining the output
  • group: only Actions of a certain group are displayed.
  • root: all subactions (one level) of the root action are displayed
  • tree: display the the hole tree. A maximum of levels can be defined.
Actions

Also available in: Atom PDF