15 lines
219 B
PHP
15 lines
219 B
PHP
<?php
|
|
|
|
namespace b8\Form\Element;
|
|
|
|
use b8\Form\Input, b8\View;
|
|
|
|
class Text extends Input
|
|
{
|
|
protected function onPreRender(View &$view)
|
|
{
|
|
parent::onPreRender($view);
|
|
$view->type = 'text';
|
|
}
|
|
}
|