string HTML_QuickForm_Page::getButtonName (
string $actionName
)
特定のアクションを起動する submit ボタン (もしくは <input type="image"> コントロール) の名前を返します。これは以下のようなことを意味します。 buildForm() メソッド内で
<?php
$this->addElement('submit', $this->getButtonName('foo'), 'Foo');
?>
のように使用し、このボタンを用いてフォームを送信した際には
'foo'
ハンドラ
(
addAction() で追加されたもの)
がコールされるということです。
$actionName
アクションの名前です。
returns submit ボタンの "name" 属性です。
例外はスローされません。
This function can not be called statically.