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

Page::setDefaultAction()

Вернуться к: HTML_QuickForm_Controller

Page::setDefaultAction()

Page::setDefaultAction() – Sets the default action invoked on page-form submit.

Synopsis

require_once 'HTML/QuickForm/Page.php';

void HTML_QuickForm_Page::setDefaultAction ( string $actionName )

This is necessary as the user may just press Enter instead of clicking one of the named submit buttons and then no action name will be passed to the script.

This method adds a special hidden element to the form the contents of which will be used by Controller if no action name is found in the submitted values.

Parameter

string $actionName

default action name

Throws

throws no exceptions thrown

Note

This function can not be called statically.



Вернуться к: HTML_QuickForm_Controller

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