Added properties to BooleanField for change the showed texts and added NoForm form

This commit is contained in:
Antonio de la Rosa 2015-11-20 02:21:49 +01:00
parent afafa75504
commit 1c88f85a99
2 changed files with 27 additions and 2 deletions

21
src/Forms/NoForm.php Normal file
View file

@ -0,0 +1,21 @@
<?php
namespace PhangoApp\PhaModels\Forms;
use PhangoApp\PhaModels\Forms\BaseForm;
use PhangoApp\PhaUtils\Utils;
use PhangoApp\PhaView\View;
use PhangoApp\PhaRouter\Routes;
use PhangoApp\PhaI18n\I18n;
class NoForm extends BaseForm {
public function form()
{
return strip_tags($this->default_value);
}
}
?>