| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* This file is part of the Nette Framework (https://nette.org) |
| 5 |
* Copyright (c) 2004 David Grudl (https://davidgrudl.com) |
| 6 |
*/ |
| 7 |
declare (strict_types=1); |
| 8 |
namespace Packetery\Nette\Forms; |
| 9 |
|
| 10 |
/** |
| 11 |
* Defines method that must be implemented to allow a control to submit web form. |
| 12 |
*/ |
| 13 |
interface SubmitterControl extends Control |
| 14 |
{ |
| 15 |
/** |
| 16 |
* Gets the validation scope. Clicking the button validates only the controls within the specified scope. |
| 17 |
*/ |
| 18 |
function getValidationScope() : ?array; |
| 19 |
} |
| 20 |
\interface_exists(ISubmitterControl::class); |
| 21 |
|