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

<?php
$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.

Sets border size for image element (Previous) HTML class for a password type field (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.