PEAR Manual
Prev |  | Next

# Controller::handle()

Controller::handle() -- Handles an action.

## Synopsis

    require_once 'HTML/QuickForm/Controller.php';

``void HTML_QuickForm_Controller::handle` (object HTML_QuickForm_Page &$page, string $actionName)`

## Description

This will be called if the page itself does not have a handler to a specific action. The method also loads and uses default handlers for common actions, if specific ones were not added.

## Parameter

object HTML_QuickForm_Page `&$page`

  The page that failed to handle the action

string `$actionName`

  Name of the action

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Controller::getPrevName() | Up | Controller::isModal()