HTML_QuickForm_image::setSource()

HTML_QuickForm_image::setSource() -- Sets source for image element

Synopsis

require_once 'HTML/QuickForm/image.php';

void HTML_QuickForm_image::setSource (string $src)

Description

This is just a shortcut for
$element->updateAttributes(array('src' => $src));

Parameter

string $src

source for image element

Throws

throws no exceptions thrown

Note

since 1.0

This function can not be called statically.