Liste de tous les membres
Documentation des fonctions membres
static JFormHelper::addFieldPath |
( |
|
$new = null | ) |
|
|
static |
Method to add a path to the list of field include paths.
- Paramètres:
-
mixed | $new | A path or array of paths to add. |
- Renvoie:
- array The list of paths that have been added.
- Depuis:
- 11.1
Référencé par plgUserProfile\__construct(), et JForm\addFieldPath().
static JFormHelper::addFormPath |
( |
|
$new = null | ) |
|
|
static |
Method to add a path to the list of form include paths.
- Paramètres:
-
mixed | $new | A path or array of paths to add. |
- Renvoie:
- array The list of paths that have been added.
- Depuis:
- 11.1
Référencé par JForm\addFormPath().
static JFormHelper::addPath |
( |
|
$entity, |
|
|
|
$new = null |
|
) |
| |
|
staticprotected |
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.
- Paramètres:
-
string | $entity | Form's entity name for which paths will be added. |
mixed | $new | A path or array of paths to add. |
- Renvoie:
- array The list of paths that have been added.
- Depuis:
- 11.1
Références $path.
Référencé par loadClass().
static JFormHelper::addRulePath |
( |
|
$new = null | ) |
|
|
static |
Method to add a path to the list of rule include paths.
- Paramètres:
-
mixed | $new | A path or array of paths to add. |
- Renvoie:
- array The list of paths that have been added.
- Depuis:
- 11.1
Référencé par JForm\addRulePath().
static JFormHelper::loadClass |
( |
|
$entity, |
|
|
|
$type |
|
) |
| |
|
staticprotected |
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:
- 11.1
Références $class, $file, $i, $n, $path, $type, addPath(), JPath\find(), et JString\ucfirst().
static JFormHelper::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.
static JFormHelper::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 JForm\loadFieldType().
static JFormHelper::loadRuleClass |
( |
|
$type | ) |
|
|
static |
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.
- Paramètres:
-
string | $type | Type of a rule whose class should be loaded. |
- Renvoie:
- mixed Class name on success or false otherwise.
- Depuis:
- 11.1
Références $type.
static JFormHelper::loadRuleType |
( |
|
$type, |
|
|
|
$new = true |
|
) |
| |
|
static |
Method to load a form rule object given a type.
- Paramètres:
-
string | $type | The rule type. |
boolean | $new | Flag to toggle whether we should get a new instance of the object. |
- Renvoie:
- mixed JFormRule object on success, false otherwise.
- Depuis:
- 11.1
Références $type.
Référencé par JForm\loadRuleType().
static JFormHelper::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.
Documentation des données membres
JFormHelper::$entities = array() |
|
staticprotected |
La documentation de cette classe a été générée à partir du fichier suivant :