Refactored project structure.

This commit is contained in:
Dmitry Khomutov 2018-03-04 18:04:15 +07:00
commit c015d8c58b
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
308 changed files with 39 additions and 47 deletions

View file

@ -1,27 +0,0 @@
<?php
namespace PHPCensor\Form\Element;
use PHPCensor\Form\Input;
use PHPCensor\View;
class Button extends Input
{
/**
* @return boolean
*/
public function validate()
{
return true;
}
/**
* @param View $view
*/
protected function onPreRender(View &$view)
{
parent::onPreRender($view);
$view->type = 'button';
}
}