Axiom (v1.2.0)

A lightweight PHP framework
axInputHelper Class Reference

Input Helper Class. More...

+ Inheritance diagram for axInputHelper:

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.

Detailed Description

Input Helper Class.

Author:
Delespierre
License:
http://www.gnu.org/licenses/lgpl.html Lesser General Public Licence version 3

Definition at line 16 of file axInputHelper.class.php.


Constructor & Destructor Documentation

axInputHelper::__construct ( name,
type = "text",
value = "" 
)

Constructor.

Parameters:
string$nameThe 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.


Member Function Documentation

Appends a node to current node and return it.

Parameters:
mixed$nodeAn axHelper instance or a string (or anything with a __toString implementation)
Returns:
mixed

Reimplemented from axBaseHelper.

Definition at line 46 of file axInputHelper.class.php.

static axInputHelper::export ( name,
type = "text",
value = "" 
) [static]

Constructor static alias.

Constructor.

Parameters:
string$nameThe 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
Returns:
axInputHelper

Definition at line 56 of file axInputHelper.class.php.

Get the node's value (if any)

Returns:
mixed

Reimplemented from axBaseHelper.

Definition at line 31 of file axInputHelper.class.php.

Set the node's value.

Parameters:
mixed$value
Returns:
axHelper

Reimplemented from axBaseHelper.

Definition at line 38 of file axInputHelper.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables