previousPage::loadValues() (Previous) (Next) HTML_QuickForm_Action クラス概要next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Page::setDefaultAction()

Page::setDefaultAction() – ページ内のフォームから起動されるデフォルトのアクションを設定する

Synopsis

require_once 'HTML/QuickForm/Page.php';

void HTML_QuickForm_Page::setDefaultAction ( string $actionName )

Description

ユーザが、送信ボタンを押さずに単に Enter キーを押した場合には アクション名がスクリプトに渡されません。そのため、 このメソッドが必要になります。

このメソッドは、特別な hidden 要素をフォームに追加します。 送信された値の中にアクション名が見つからなかった場合に Controller がこれを使用します。

Parameter

string $actionName

デフォルトのアクション名。

Throws

例外はスローされません。

Note

This function can not be called statically.

previousPage::loadValues() (Previous) (Next) HTML_QuickForm_Action クラス概要next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.