HTML_QuickForm_image::setSource()

HTML_QuickForm_image::setSource() – image 要素のソースを設定する

Synopsis

require_once 'HTML/QuickForm/image.php';

void HTML_QuickForm_image::setSource ( string $src )

Description

これは、単に以下の処理と同じことをします。

<?php
$element
->updateAttributes(array('src' => $src));
?>

Parameter

string $src

image 要素のソース。

Throws

例外はスローされません。

Note

since 1.0

This function can not be called statically.