\FOFFormHelper
FOFForm's helper class.
Provides a storage for filesystem's paths where FOFForm's entities reside and
methods for creating those entities. Also stores objects with entities'
prototypes for further reusing.
Synopsis
class FOFFormHelper
extends JFormHelper
{
- // methods
- public static mixed loadFieldType()
- public static mixed loadHeaderType()
- protected static mixed loadType()
- public static mixed loadFieldClass()
- public static mixed loadHeaderClass()
- public static mixed loadClass()
- public static array addHeaderPath()
- // Inherited methods from JFormHelper
- public static mixed loadFieldType()
- public static mixed loadRuleType()
- protected static mixed loadType()
- public static mixed loadFieldClass()
- public static mixed loadRuleClass()
- protected static mixed loadClass()
- public static array addFieldPath()
- public static array addFormPath()
- public static array addRulePath()
- protected static array addPath()
Hierarchy
Extends
Members
protected
- $entities
—
array
Static array of JForm's entity objects for re-use. - $paths
—
array
Array with paths where entities(field, rule, form) can be found.
Methods
protected
- loadType() — Method to load a form entity object given a type.
public
- addHeaderPath() — Method to add a path to the list of header include paths.
- loadClass() — Load a class for one of the form's entities of a particular type.
- loadFieldClass() — Attempt to import the JFormField class file if it isn't already imported.
- loadFieldType() — Method to load a form field object given a type.
- loadHeaderClass() — Attempt to import the FOFFormHeader class file if it isn't already imported.
- loadHeaderType() — Method to load a form field object given a type.
Inherited from JFormHelper
protected
- addPath() — Method to add a path to the list of include paths for one of the form's entities.
- loadClass() — Load a class for one of the form's entities of a particular type.
- loadType() — Method to load a form entity object given a type.
public
- addFieldPath() — Method to add a path to the list of field include paths.
- addFormPath() — Method to add a path to the list of form include paths.
- addRulePath() — Method to add a path to the list of rule include paths.
- loadFieldClass() — Attempt to import the JFormField class file if it isn't already imported.
- loadFieldType() — Method to load a form field object given a type.
- loadRuleClass() — Attempt to import the JFormRule class file if it isn't already imported.
- loadRuleType() — Method to load a form rule object given a type.