ACC SHELL
<?php
/**
* This file is part of the Nette Framework (http://nette.org)
* Copyright (c) 2004 David Grudl (http://davidgrudl.com)
* @package Nette\Forms
*/
/**
* Defines method that must be implemented to allow a control to submit web form.
*
* @author David Grudl
* @package Nette\Forms
*/
interface ISubmitterControl extends IFormControl
{
/**
* Tells if the form was submitted by this button.
* @return bool
*/
function isSubmittedBy();
/**
* Gets the validation scope. Clicking the button validates only the controls within the specified scope.
* @return mixed
*/
function getValidationScope();
}
ACC SHELL 2018