HTML_QuickForm_image::setSource()

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

Referentiesamenvatting

require_once 'HTML/QuickForm/image.php';

void HTML_QuickForm_image::setSource (string $src)

Beschrijving

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

Deze functie kan niet statisch worden aangeroepen.