[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
url type form element Contains HTML class for a url type element
Copyright: | 2009 Dongsheng Cai <[email protected]> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 150 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MoodleQuickForm_url:: (5 methods):
MoodleQuickForm_url()
setHiddenLabel()
toHtml()
getHelpButton()
getElementTemplateType()
Class: MoodleQuickForm_url - X-Ref
url type form elementMoodleQuickForm_url($elementName=null, $elementLabel=null, $attributes=null, $options=null) X-Ref |
Constructor param: string $elementName Element name param: mixed $elementLabel Label(s) for an element param: mixed $attributes Either a typical HTML attribute string or an associative array. param: array $options data which need to be posted. |
setHiddenLabel($hiddenLabel) X-Ref |
Sets label to be hidden param: bool $hiddenLabel sets if label should be hidden |
toHtml() X-Ref |
Returns HTML for this form element. return: string |
getHelpButton() X-Ref |
get html for help button return: string html for help button |
getElementTemplateType() X-Ref |
Slightly different container template when frozen. Don't want to use a label tag with a for attribute in that case for the element label but instead use a div. Templates are defined in renderer constructor. return: string |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |