Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17477 программистов и 1876 роботов. Сейчас ищут 1696 программистов ...

constructor HTML_QuickForm::HTML_QuickForm()

Вернуться к: Creating a basic form

constructor HTML_QuickForm::HTML_QuickForm()

constructor HTML_QuickForm::HTML_QuickForm() – Class constructor

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::HTML_QuickForm ( string $formName = '' , string $method = 'post' , string $action = '' , string $target = '' , mixed $attributes = null , bool $trackSubmit = false )

Constructor, sets <form> tag attributes and loads submitted values.

Parameter

string $formName

Form's name.

string $method

(optional) Form's method

string $action

(optional) Form's action

string $target

(optional) Form's target

mixed $attributes

(optional) Extra attributes for <form> tag

boolean $trackSubmit

(optional) Whether to track if the form was submitted by adding a special hidden field. If the name of such field is not present in the $_GET or $_POST values, the form will be considered as not submitted.

Throws

throws no exceptions thrown

Note

This function can not be called statically.



Вернуться к: Creating a basic form

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware