Input Helper Class. More...
Public Member Functions | |
__construct ($name, $type="text", $value="") | |
Constructor. | |
getValue () | |
setValue ($value) | |
appendChild ($node) | |
Static Public Member Functions | |
static | export ($name, $type="text", $value="") |
Constructor static alias. |
Input Helper Class.
Definition at line 16 of file axInputHelper.class.php.
axInputHelper::__construct | ( | $ | name, |
$ | type = "text" , |
||
$ | value = "" |
||
) |
Constructor.
string | $name | The input's name attribute value |
string | $type | [optional] [default "text" ] The input's type attribute value |
scalar | $value | [optional] [default "" ] The input's value attribute value |
Reimplemented from axBaseHelper.
Definition at line 24 of file axInputHelper.class.php.
axInputHelper::appendChild | ( | $ | node | ) |
Appends a node to current node and return it.
mixed | $node | An axHelper instance or a string (or anything with a __toString implementation) |
Reimplemented from axBaseHelper.
Definition at line 46 of file axInputHelper.class.php.
static axInputHelper::export | ( | $ | name, |
$ | type = "text" , |
||
$ | value = "" |
||
) | [static] |
Constructor static alias.
Constructor.
string | $name | The input's name attribute value |
string | $type | [optional] [default "text" ] The input's type attribute value |
scalar | $value | [optional] [default "" ] The input's value attribute value |
Definition at line 56 of file axInputHelper.class.php.
Get the node's value (if any)
Reimplemented from axBaseHelper.
Definition at line 31 of file axInputHelper.class.php.
axInputHelper::setValue | ( | $ | value | ) |
Set the node's value.
mixed | $value |
Reimplemented from axBaseHelper.
Definition at line 38 of file axInputHelper.class.php.