HTML_QuickForm::updateElementAttr()

PEAR Manual


HTML_QuickForm_image::setBorder()

HTML_QuickForm_image::setBorder() -- Sets border size for image element

Synopsis

      require_once 'HTML/QuickForm/image.php';
     

void HTML_QuickForm_image::setBorder ( string $border )

Description

This is just a shortcut for


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

Parameter

string $border

border for image element

Throws

throws no exceptions thrown

Note

since 1.0

This function can not be called statically.




HTML_QuickForm::updateElementAttr()

PEAR Manual