PEAR Manual
Prev |  | Next

# HTML_QuickForm_static::setText()

HTML_QuickForm_static::setText() -- Sets the text

## Synopsis

    require_once 'HTML/QuickForm/static.php';

``void HTML_QuickForm_static::setText` (string $text)`

## Description

This text is essentially the static element itself. Note that setValue() is an alias for setText().

## Parameter

string `$text`

  text of the element

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
constructor HTML_QuickForm_static() | Up | HTML_QuickForm_Controller