PEAR Manual
Prev |  | Next

# 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

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

Prev | Home | Next
HTML_QuickForm_image::setAlign() | Up | HTML_QuickForm_image::setSource()