PEAR Manual
Prev |  | Next

# HTML_QuickForm_link::setHref()

HTML_QuickForm_link::setHref() -- Sets the links href

## Synopsis

    require_once 'HTML/QuickForm/link.php';

``void HTML_QuickForm_link::setHref` (string $href)`

## Description

This is just a shortcut for

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

## Parameter

string `$href`

## Throws

throws

## Note

since 1.0

This function can not be called statically.

Prev | Home | Next
constructor HTML_QuickForm_link() | Up | Class Summary HTML_QuickForm_static