Class 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.
- JFormHelper
- FOFFormHelper
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 2.0
Located at fof/form/helper.php
Methods summary
public static
mixed
|
#
loadFieldType( string $type, boolean $new = true )
Method to load a form field object given a type. |
public static
mixed
|
#
loadHeaderType( string $type, boolean $new = true )
Method to load a form field object given a type. |
protected static
mixed
|
#
loadType( string $entity, string $type, boolean $new = true )
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). |
public static
mixed
|
#
loadFieldClass( string $type )
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. |
public static
mixed
|
#
loadHeaderClass( string $type )
Attempt to import the FOFFormHeader class file if it isn't already imported. You can use this method outside of JForm for loading a field for inheritance or composition. |
public static
mixed
|
|
public static
array
|
Methods inherited from JFormHelper
addFieldPath()
,
addFormPath()
,
addPath()
,
addRulePath()
,
loadRuleClass()
,
loadRuleType()
,
parseShowOnConditions()