PEAR Manual
Prev |  | Next

# HTML_QuickForm_image::setAlign()

HTML_QuickForm_image::setAlign() -- Sets alignment for image element

## Synopsis

    require_once 'HTML/QuickForm/image.php';

``void HTML_QuickForm_image::setAlign` (string $align)`

## Description

This is just a shortcut for

    $element->updateAttributes(array('align' => $align));

## Parameter

string `$align`

  alignment for image element

## Throws

throws no exceptions thrown

## Note

since 1.0

This function can not be called statically.

Prev | Home | Next
constructor HTML_QuickForm_image() | Up | HTML_QuickForm_image::setBorder()