1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20:
<?php
namespace Inteve\Forms;
use Nette\Forms\Controls as FormControls;
class Controls
{
/**
* @param string|NULL
* @param int|NULL
* @return FormControls\TextInput
*/
public static function text($label = NULL, $maxLength = NULL)
{
return new Controls\TextInput($label, $maxLength);
}
}