for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Button элемент формы
*
* @file ButtonElement.php
* PHP version 5.6+
* @author Alexander Yancharuk <alex at itvault dot info>
* @copyright © 2012-2016 Alexander Yancharuk <alex at itvault at info>
* @date Срд Авг 15 00:33:35 2012
* @license The BSD 3-Clause License
* <https://tldrlegal.com/license/bsd-3-clause-license-(revised)>
*/
namespace Veles\Form\Elements;
* Класс ButtonElement
class ButtonElement extends AbstractElement
{
* Отрисовка элемента
public function render()
return '<input' . $this->attributes() . 'type="button">';
}