◆ addHeaderPath()
static addHeaderPath |
( |
|
$new = null | ) |
|
|
static |
Method to add a path to the list of header include paths.
- Paramètres
-
mixed | $new | A path or array of paths to add. |
- Renvoie
- array The list of paths that have been added.
Référencé par FOFForm\addHeaderPath().
◆ loadClass()
static loadClass |
( |
|
$entity, |
|
|
|
$type |
|
) |
| |
|
static |
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).
- Paramètres
-
string | $entity | One of the form entities (field or rule). |
string | $type | Type of an entity. |
- Renvoie
- mixed Class name on success or false otherwise.
- Depuis
- 2.0
Références $class, $file, $i, $n, $path, $prefix, $type, elseif, et FOFPlatform\getInstance().
◆ loadFieldClass()
static loadFieldClass |
( |
|
$type | ) |
|
|
static |
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.
- Paramètres
-
string | $type | Type of a field whose class should be loaded. |
- Renvoie
- mixed Class name on success or false otherwise.
- Depuis
- 11.1
Références $type.
◆ loadFieldType()
static loadFieldType |
( |
|
$type, |
|
|
|
$new = true |
|
) |
| |
|
static |
Method to load a form field object given a type.
- Paramètres
-
string | $type | The field type. |
boolean | $new | Flag to toggle whether we should get a new instance of the object. |
- Renvoie
- mixed JFormField object on success, false otherwise.
- Depuis
- 11.1
Références $type.
Référencé par FOFForm\loadFieldType().
◆ loadHeaderClass()
static loadHeaderClass |
( |
|
$type | ) |
|
|
static |
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.
- Paramètres
-
string | $type | Type of a field whose class should be loaded. |
- Renvoie
- mixed Class name on success or false otherwise.
- Depuis
- 11.1
Références $type.
◆ loadHeaderType()
static loadHeaderType |
( |
|
$type, |
|
|
|
$new = true |
|
) |
| |
|
static |
Method to load a form field object given a type.
- Paramètres
-
string | $type | The field type. |
boolean | $new | Flag to toggle whether we should get a new instance of the object. |
- Renvoie
- mixed JFormField object on success, false otherwise.
- Depuis
- 11.1
Références $type.
Référencé par FOFForm\loadHeaderType().
◆ loadType()
static loadType |
( |
|
$entity, |
|
|
|
$type, |
|
|
|
$new = true |
|
) |
| |
|
staticprotected |
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).
- Paramètres
-
string | $entity | The entity. |
string | $type | The entity type. |
boolean | $new | Flag to toggle whether we should get a new instance of the object. |
- Renvoie
- mixed Entity object on success, false otherwise.
- Depuis
- 11.1
Références $class, $key, et $type.
La documentation de cette classe a été générée à partir du fichier suivant :