Interface ISubmitterControl (namespace Nette\Forms)


Defines method that must be implemented to allow a control to submit web form.

IFormControl
   |
   --ISubmitterControl
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Forms/ISubmitterControl.php (line 34)
Public Method Summary
mixed
Gets the validation scope. Clicking the button validates only the controls within the specified scope.
bool
Tells if the form was submitted by this button.
Methods Inherited From IFormControl
getErrors(), getRules(), getValue(), isDisabled(), loadHttpData(), setValue(), translate()

Method Details

line 47

getValidationScope

public mixed getValidationScope ()

Gets the validation scope. Clicking the button validates only the controls within the specified scope.

line 41

isSubmittedBy

public bool isSubmittedBy ()

Tells if the form was submitted by this button.