|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct (moodle_url $url, $text, component_action $action=null, array $attributes=null) | |
| add_action (component_action $action) | |
| add_class ($class) | |
Data Fields | |
| $url | |
| $text | |
| $attributes | |
| $actions | |
Data structure describing html link with special action attached.
Definition at line 851 of file outputcomponents.php.
| __construct | ( | moodle_url $ | url, |
| $ | text, | ||
| component_action $ | action = null, |
||
| array $ | attributes = null |
||
| ) |
Constructor
| string | moodle_url | $url | |
| string | $text | HTML fragment |
| component_action | $action | |
| array | $attributes | associative array of html link attributes + disabled |
Definition at line 880 of file outputcomponents.php.

| add_action | ( | component_action $ | action | ) |
Add action to the link.
| component_action | $action |
Definition at line 894 of file outputcomponents.php.

| add_class | ( | $ | class | ) |
Definition at line 898 of file outputcomponents.php.
| $actions |
Definition at line 871 of file outputcomponents.php.
Definition at line 866 of file outputcomponents.php.
| $text |
Definition at line 861 of file outputcomponents.php.
| $url |
Definition at line 856 of file outputcomponents.php.