JForm's helper class.
Provides a storage for filesystem's paths where JForm's entities reside and methods for creating those entities. Also stores objects with entities' prototypes for further reusing.
Located in /libraries/joomla/form/helper.php (line 23)
Class | Description |
---|---|
![]() |
FOFForm's helper class. |
Static array of JForm's entity objects for re-use.
Prototypes for all fields and rules are here.
Array's structure:
Method to add a path to the list of field include paths.
Method to add a path to the list of form include paths.
Method to add a path to the list of include paths for one of the form's entities.
Currently supported entities: field, rule and form. You are free to support your own in a subclass.
Method to add a path to the list of rule include paths.
Load a class for one of the form's entities of a particular type.
Currently, it makes sense to use this method for the "field" and "rule" entities (but you can support more entities in your subclass).
Attempt to import the JFormField class file if it isn't already imported.
You can use this method outside of JForm for loading a field for inheritance or composition.
Method to load a form field object given a type.
Attempt to import the JFormRule class file if it isn't already imported.
You can use this method outside of JForm for loading a rule for inheritance or composition.
Method to load a form rule object given a type.
Method to load a form entity object given a type.
Each type is loaded only once and then used as a prototype for other objects of same type. Please, use this method only with those entities which support types (forms don't support them).
Documentation generated on Tue, 19 Nov 2013 15:04:29 +0100 by phpDocumentor 1.4.3