Moodle  2.2.1
http://www.collinsharper.com
SimpleTagBuilder Class Reference

Public Member Functions

 createTag ($name, $attributes)
 _createSelectionTag ($attributes)
 _createInputTag ($attributes)
 _keysToLowerCase ($map)

Detailed Description

Definition at line 25 of file page.php.


Member Function Documentation

_createInputTag ( attributes)

Factory for input tags.

Parameters:
hash$attributesElement attributes.
Returns:
SimpleTag Tag object. protected

Definition at line 78 of file page.php.

Here is the caller graph for this function:

_createSelectionTag ( attributes)

Factory for selection fields.

Parameters:
hash$attributesElement attributes.
Returns:
SimpleTag Tag object. protected

Definition at line 65 of file page.php.

Here is the caller graph for this function:

_keysToLowerCase ( map)

Make the keys lower case for case insensitive look-ups.

Parameters:
hash$mapHash to convert.
Returns:
hash Unchanged values, but keys lower case. private

Definition at line 105 of file page.php.

Here is the caller graph for this function:

createTag ( name,
attributes 
)

Factory for the tag objects. Creates the appropriate tag object for the incoming tag name and attributes.

Parameters:
string$nameHTML tag name.
hash$attributesElement attributes.
Returns:
SimpleTag Tag object. public

Definition at line 36 of file page.php.

Here is the call graph for this function:


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