Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5201515
Hits Heute: 944
max. Hits (10.07.07): 6964
User Online: 30
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

XML und VBA lernen . Anfangen, anwenden, verstehen
XML und VBA lernen . Anfangen, anwenden, verstehen

Manuals > PEAR > Page::getButtonName()

Page::getButtonName()

Page::getButtonName() -- Returns a name for a submit button that will invoke a specific action.

Description

Returns a name for a submit button (or an <input type="image"> control) that will invoke a specific action. This means the following: if you do
$this->addElement('submit', $this->getButtonName('foo'), 'Foo');
inside the buildForm() method and the user later uses this button to submit the form, then the 'foo' handler (added via addAction() will be called.

Parameter

string $actionName

Name of the action

Return value

returns "name" attribute for a submit button

Throws

throws no exceptions thrown

Note

This function can not be called statically.


Copyright 1998 - 2009 by I.S.U.M.