PEAR Manual
Prev |  | Next

# Controller::setConstants()

Controller::setConstants() -- Initializes constant form values.

## Synopsis

    require_once 'HTML/QuickForm/Controller.php';

``void HTML_QuickForm_Controller::setConstants` ([array $constantValues = `NULL`])`

## Description

These values won't get overridden by POST or GET vars

## Parameter

array `$constantValues`

  constant values

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Controller::run() | Up | Controller::setDefaults()