| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
url type form element Contains HTML class for a url type element
| Copyright: | 2009 Dongsheng Cai <dongsheng@moodle.com> |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 160 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
MoodleQuickForm_url:: (6 methods):
__construct()
MoodleQuickForm_url()
setHiddenLabel()
toHtml()
getHelpButton()
getElementTemplateType()
Class: MoodleQuickForm_url - X-Ref
url type form element| __construct($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. |
| MoodleQuickForm_url($elementName=null, $elementLabel=null, $attributes=null, $options=null) X-Ref |
| Old syntax of class constructor. Deprecated in PHP7. |
| 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: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |