Axiom (v1.2.0)

A lightweight PHP framework
axHelper Interface Reference

Helper Interface. More...

+ Inheritance diagram for axHelper:

Public Member Functions

 setAttributes ($attributes)
 Set any number of attributes at once.
 setValue ($value)
 Set the node's value.
 getValue ()
 Get the node's value (if any)
 appendChild ($node)
 Appends a node to current node and return it.
 prependCHild ($node)
 Prepend a node to the current node and return it.
 __toString ()
 __toString implementation

Detailed Description

Helper Interface.

Interface to be implemented by all HTML helpers.

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

Definition at line 18 of file axHelper.class.php.


Member Function Documentation

__toString implementation

Get a string represenation of current node and its children.

Returns:
string

Implemented in axTableRowGroupHelper, axTableHelper, and axBaseHelper.

axHelper::appendChild ( node)

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

Implemented in axBaseHelper, axInputHelper, and axColHelper.

Get the node's value (if any)

Returns:
mixed

Implemented in axFormLineHelper, axBaseHelper, axSelectHelper, axOptionHelper, and axInputHelper.

Prepend a node to the current node and return it.

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

Set any number of attributes at once.

Parameters:
array$attributes
Returns:
axHelper

Implemented in axBaseHelper.

axHelper::setValue ( value)

Set the node's value.

Parameters:
mixed$value
Returns:
axHelper

Implemented in axFormLineHelper, axBaseHelper, axCheckboxGroupHelper, axInputHelper, axSelectHelper, axColHelper, and axOptionHelper.


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