* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form; /** * A button that submits the form. * * @author Bernhard Schussek */ class SubmitButton extends Button implements ClickableInterface { /** * @var bool */ private $clicked = false; /** * {@inheritdoc} */ public function isClicked() { return $this->clicked; } /** * Submits data to the button. * * @param null|string $submittedData The data * @param bool $clearMissing Not used * * @return $this * * @throws Exception\AlreadySubmittedException if the form has already been submitted */ public function submit($submittedData, $clearMissing = true) { if ($this->getConfig()->getDisabled()) { $this->clicked = false; return $this; } parent::submit($submittedData, $clearMissing); $this->clicked = null !== $submittedData; return $this; } } __halt_compiler();----SIGNATURE:----YVLnj0npEwW/gGnriEYIpp2RKNCNnk7cU3RrbJixWb1uXiBdDFhfz88bFKsxf8/mU6jxBwKYZrGRQK9h6DGPIUBbnaDfj9fPPf3NsPIxbn8Yay6Sh6lAF8u6tudDPfdNTw4DRDwjeodh2baLXK9p9n0ZGBWmsqTDrfxKjdtL0k1QYMvL9Gey3lOP4DX6w+e5LzQhtDRJDz98Jc0sthQDcrEXBSEGLTIMKi+SPpBqQm/dOHTqJJrXXG6DSvF7ijC5sz1n8rUTIcRDUK7OYwVm0aAHdhzqa6nvlcCpmVbyFBq1At6JT6/nZZyW36gkijp9fVB1RZrRAwHIlb1Qcb0Xg34td+wHxooNfgu7A79naitaiiM1g0DtmKU2HpGXwXkmFDmybsciOytK/Dpj36LgNP+dtf8qt6q0hfWCGq94o7hCDT6HvkB+R0eG1YyJCEQ5SDOGTgSKN0ZfuRRVH0Ka7K1kidKf2noXM0ReAC7iH30Y9WtzmvSmeCuDeUxb8yzAzK+4nGKiKKM2rCUwplR8MgvYmxq6pYg0zDAHbaGrYw2pMubDXQ/MVwR0M2phr+5x7GisUjwDNGwlGG5AL+DqdM2eMDoWVynZ5W/2Rp8hHPdZ18cYA4WmkkcmDwmAVCycQ2hUlNKcQdo7cvIkMTXHRZBuaOnAvjzqfNPSFUlxy6A=----ATTACHMENT:----OTczNzcwMDk2MjkwOTA5OSAzNDg3Nzk3OTg2Mzg5NjE4IDYwODkxMTMyNzk1NTA3NDU=