Class textbox
This class is responsible for offering various interfaces for drawing textbox
'input' HTML elements.
Namespace: ski
Located at packages/ski.web/controls/ski.control.textbox.php
Methods summary
public
|
#
__construct( array $attrs = null )
Prepares a new input for later display..
Prepares a new input for later display..
Parameters
- $attrs
array $attrs Associative array - the key is the attribute name and the value is the
value of that attribute; for example: array ( 'class' => 'my-special-class',
'name' => 'my-element-name' )
|
public
|
#
display( array $attr_overrides = null, boolean $echo = true )
Displays this input..
Parameters
- $attr_overrides
array $attr_overrides Associative array - the key is the attribute name and the value
is the value of that attribute; note that the keys in this array will overwrite
the keys in the array that was setup at construction..
- $echo
boolean $echo Set to 'true' to echo the markup or 'false' to only return it
|
Magic methods summary