Generates a button action.
Class ButtonAction( prompt, authLevel, content, [onClick],[extra] ) from \ Action(( prompt, authLevel))
prompt | Text for rendering columns headings or titles. |
authLevel | minimal authorization level required to see this action |
content | Content to be displayed in this button. |
onClick | Javascript or other script action to perform on click. |
extra | Extra pre-formatted html/xml to add to the definition of the button on the page. |
The content parameter can be any valid HTML text (it won't be escaped).
Methods inherited from class Action | |
allowed | Check if a logged-in user can see this action. |
render | Renders this action. |