|
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.
|
|
string | $text |
| Link text HTML fragment.
|
|
moodle_url | $url |
| Href url.
|
|
- Copyright
- 2013 Andrew Nicols
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ add_action()
Add action to the link.
- Parameters
-
◆ add_class()
core\output\action_link::add_class |
( |
| $class | ) |
|
|
inherited |
Adds a CSS class to this action link object.
- Parameters
-
◆ export_for_template()
core\output\action_link::export_for_template |
( |
renderer_base | $output | ) |
|
|
inherited |
◆ get_icon_html()
core\output\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()
core\output\action_link::has_class |
( |
| $class | ) |
|
|
inherited |
Returns true if the specified class has been added to this link.
- Parameters
-
- Return values
-
◆ $primary
bool core\output\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:
- lib/classes/output/action_menu/filler.php