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


Public Member Functions | |
| HTML_QuickForm_image ($elementName=null, $src='', $attributes=null) | |
| setSource ($src) | |
| setBorder ($border) | |
| setAlign ($align) | |
| freeze () | |
HTML class for a image type element
| freeze | ( | ) |
Freeze the element so that only its value is returned
public
Reimplemented from HTML_QuickForm_element.
| HTML_QuickForm_image | ( | $ | elementName = null, |
| $ | src = '', |
||
| $ | attributes = null |
||
| ) |
Class constructor
| string | $elementName | (optional)Element name attribute |
| string | $src | (optional)Image source |
| mixed | $attributes | (optional)Either a typical HTML attribute string or an associative array |
Definition at line 47 of file image.php.

| setAlign | ( | $ | align | ) |
| setBorder | ( | $ | border | ) |
| setSource | ( | $ | src | ) |