Form
class Form (View source)
Methods
static void
xhtml(bool $xhtml)
Define new forms for use xhtml (<input />
) or html format (<input>
)
static void
setup(string $byType, array $attributes)
Define default attributes for all elements
static string|null
comboRange(string $name, string|int $low, string|int $high, int $step = null, string|null $value = null, array $attributes = array())
Generate combo by range
static string
combo(string $name, array $options, string|null $value = null, array $attributes = array())
Create a select combo based in an array
static string
input(string $type, string $name, string|null $value = null, array $attributes = array())
Create a input or textarea
Details
at line 27
static void
xhtml(bool $xhtml)
Define new forms for use xhtml (<input />
) or html format (<input>
)
at line 39
static void
setup(string $byType, array $attributes)
Define default attributes for all elements
at line 57
static string|null
comboRange(string $name, string|int $low, string|int $high, int $step = null, string|null $value = null, array $attributes = array())
Generate combo by range
at line 89
static string
combo(string $name, array $options, string|null $value = null, array $attributes = array())
Create a select combo based in an array
at line 115
static string
input(string $type, string $name, string|null $value = null, array $attributes = array())
Create a input or textarea