PEAR Manual
Prev |  | Next

# constructor HTML_QuickForm_advcheckbox()

constructor HTML_QuickForm_advcheckbox() -- Class constructor

## Synopsis

    require_once 'HTML/QuickForm/advcheckbox.php';

``void constructor HTML_QuickForm_advcheckbox::HTML_QuickForm_advcheckbox` ([string $elementName = `NULL` [, string $elementLabel = `NULL` [, string $text = `NULL` [, mixed $attributes = `NULL` [, mixed $values = `NULL`]]]]])`

## Description

This package is not documented yet.

## Parameter

string `$elementName`

  (optional)Input field name attribute

string `$elementLabel`

  (optional)Input field label

string `$text`

  (optional)Text to put after the checkbox

mixed `$attributes`

  (optional)Either a typical HTML attribute string or an associative array

mixed `$values`

  (optional)Values to pass if checked or not checked

## Throws

throws no exceptions thrown

## Note

since 1.0

This function can not be called statically.

Prev | Home | Next
Class Summary HTML_QuickForm_advcheckbox | Up | HTML_QuickForm_advcheckbox::getOnclickJs()