|
array | $actions |
| List of actions attached to link.
|
|
array | $attributes |
| HTML attributes.
|
|
pix_icon | $icon |
| Optional pix icon to render with the link.
|
|
bool | $primary = true |
| True if this is a primary action. More...
|
|
string | $text |
| Link text HTML fragment.
|
|
moodle_url | $url |
| Href url.
|
|
◆ add_action()
Add action to the link.
- Parameters
-
◆ add_class()
action_link::add_class |
( |
|
$class | ) |
|
|
inherited |
Adds a CSS class to this action link object.
- Parameters
-
◆ export_for_template()
Export for template.
- Parameters
-
- Return values
-
Reimplemented in action_menu_link.
◆ get_icon_html()
action_link::get_icon_html |
( |
| ) |
|
|
inherited |
Return the rendered HTML for the icon.
Useful for rendering action links in a template.
- Return values
-
◆ has_class()
action_link::has_class |
( |
|
$class | ) |
|
|
inherited |
Returns true if the specified class has been added to this link.
- Parameters
-
- Return values
-
◆ $primary
bool action_menu_filler::$primary = true |
True if this is a primary action.
False if not.
The documentation for this class was generated from the following file: