Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence de la classe FOFFormHelper
+ Graphe d'héritage de FOFFormHelper:

Fonctions membres publiques statiques

static loadFieldType ($type, $new=true)
 
static loadHeaderType ($type, $new=true)
 
static loadFieldClass ($type)
 
static loadHeaderClass ($type)
 
static loadClass ($entity, $type)
 
static addHeaderPath ($new=null)
 

Fonctions membres protégées statiques

static loadType ($entity, $type, $new=true)
 

Documentation des fonctions membres

◆ addHeaderPath()

static addHeaderPath (   $new = null)
static

Method to add a path to the list of header include paths.

Paramètres
mixed$newA 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$entityOne of the form entities (field or rule).
string$typeType 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$typeType 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$typeThe field type.
boolean$newFlag 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$typeType 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$typeThe field type.
boolean$newFlag 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$entityThe entity.
string$typeThe entity type.
boolean$newFlag 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 :