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
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