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


Public Member Functions | |
| __construct (array $urls, $selected='', $nothing=array(''=>'choosedots'), $formid=null, $showbutton=null) | |
| set_old_help_icon ($helppage, $title, $component= 'moodle') | |
| set_help_icon ($identifier, $component= 'moodle') | |
| set_label ($label) | |
Data Fields | |
| $urls | |
| $selected | |
| $nothing | |
| $attributes = array() | |
| $label = '' | |
| $class = 'urlselect' | |
| $disabled = false | |
| $tooltip = null | |
| $formid = null | |
| $helpicon = null | |
| $showbutton = null | |
Simple URL selection widget description.
Definition at line 735 of file outputcomponents.php.
| __construct | ( | array $ | urls, |
| $ | selected = '', |
||
| $ | nothing = array(''=>'choosedots'), |
||
| $ | formid = null, |
||
| $ | showbutton = null |
||
| ) |
Constructor
| array | $urls | list of options |
| string | $selected | selected element |
| array | $nothing | |
| string | $formid | |
| string | $showbutton | Set to text of button if it should be visible or null if it should be hidden (hidden version always has text 'go') |
Definition at line 802 of file outputcomponents.php.
| set_help_icon | ( | $ | identifier, |
| $ | component = 'moodle' |
||
| ) |
Adds help icon.
| string | $identifier | The keyword that defines a help page |
| string | $component | |
| bool | $linktext | add extra text to icon |
Definition at line 830 of file outputcomponents.php.
| set_label | ( | $ | label | ) |
Sets select's label
| string | $label |
Definition at line 839 of file outputcomponents.php.
| set_old_help_icon | ( | $ | helppage, |
| $ | title, | ||
| $ | component = 'moodle' |
||
| ) |
Adds help icon.
| string | $page | The keyword that defines a help page |
| string | $title | A descriptive text for accessibility only |
| string | $component | |
| bool | $linktext | add extra text to icon |
Definition at line 819 of file outputcomponents.php.
| $attributes = array() |
Definition at line 758 of file outputcomponents.php.
| $class = 'urlselect' |
Definition at line 768 of file outputcomponents.php.
| $disabled = false |
Definition at line 773 of file outputcomponents.php.
| $formid = null |
Definition at line 783 of file outputcomponents.php.
| $helpicon = null |
Definition at line 788 of file outputcomponents.php.
| $label = '' |
Definition at line 763 of file outputcomponents.php.
| $nothing |
Definition at line 753 of file outputcomponents.php.
| $selected |
Definition at line 748 of file outputcomponents.php.
| $showbutton = null |
Definition at line 792 of file outputcomponents.php.
| $tooltip = null |
Definition at line 778 of file outputcomponents.php.
| $urls |
Definition at line 743 of file outputcomponents.php.