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é
|
Fonctions membres publiques statiques | |
static | loadFieldType ($type, $new=true) |
static | loadRuleType ($type, $new=true) |
static | loadFieldClass ($type) |
static | loadRuleClass ($type) |
static | addFieldPath ($new=null) |
static | addFormPath ($new=null) |
static | addRulePath ($new=null) |
static | addFieldPrefix ($new=null) |
static | addFormPrefix ($new=null) |
static | addRulePrefix ($new=null) |
static | parseShowOnConditions ($showOn, $formControl=null, $group=null) |
Fonctions membres protégées statiques | |
static | loadType ($entity, $type, $new=true) |
static | loadClass ($entity, $type) |
static | addPath ($entity, $new=null) |
static | addPrefix ($entity, $new=null) |
Attributs protégés statiques | |
static | $paths |
static | $prefixes = array('field' => array(), 'form' => array(), 'rule' => array()) |
static | $entities = array('field' => array(), 'form' => array(), 'rule' => array()) |
Form's helper class. Provides a storage for filesystem's paths where Form's entities reside and methods for creating those entities. Also stores objects with entities' prototypes for further reusing.
|
static |
Method to add a path to the list of field include paths.
mixed | $new | A path or array of paths to add. |
Référencé par PlgUserTerms\__construct(), FormWrapper\addFieldPath(), et Form\addFieldPath().
|
static |
Method to add a namespace prefix to the list of field lookups.
mixed | $new | A namespaces or array of namespaces to add. |
Référencé par Form\syncPaths().
|
static |
Method to add a path to the list of form include paths.
mixed | $new | A path or array of paths to add. |
Référencé par FormWrapper\addFormPath(), et Form\addFormPath().
|
static |
Method to add a namespace to the list of form lookups.
mixed | $new | A namespace or array of namespaces to add. |
Référencé par Form\syncPaths().
|
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.
string | $entity | Form's entity name for which paths will be added. |
mixed | $new | A path or array of paths to add. |
Références $path.
|
staticprotected |
Method to add a namespace to the list of namespaces for one of the form's entities. Currently supported entities: field, rule and form. You are free to support your own in a subclass.
string | $entity | Form's entity name for which paths will be added. |
mixed | $new | A namespace or array of namespaces to add. |
Références $prefix.
|
static |
Method to add a path to the list of rule include paths.
mixed | $new | A path or array of paths to add. |
Référencé par FormWrapper\addRulePath(), et Form\addRulePath().
|
static |
Method to add a namespace to the list of rule lookups.
mixed | $new | A namespace or array of namespaces to add. |
Référencé par Form\syncPaths().
|
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).
string | $entity | One of the form entities (field or rule). |
string | $type | Type of an entity. |
Références $class, $file, $i, $n, $name, $path, $prefix, $type, et Normalise\toSpaceSeparated().
|
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.
string | $type | Type of a field whose class should be loaded. |
Références $type.
Référencé par FormWrapper\loadFieldClass().
|
static |
Method to load a form field object given a type.
string | $type | The field type. |
boolean | $new | Flag to toggle whether we should get a new instance of the object. |
Références $type.
Référencé par FormWrapper\loadFieldType(), et Form\loadFieldType().
|
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.
string | $type | Type of a rule whose class should be loaded. |
Références $type.
Référencé par FormWrapper\loadRuleClass().
|
static |
Method to load a form rule object given a type.
string | $type | The rule type. |
boolean | $new | Flag to toggle whether we should get a new instance of the object. |
Références $type.
Référencé par FormWrapper\loadRuleType(), et Form\loadRuleType().
|
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).
string | $entity | The entity. |
string | $type | The entity type. |
boolean | $new | Flag to toggle whether we should get a new instance of the object. |
Parse the show on conditions
string | $showOn | Show on conditions. |
string | $formControl | Form name. |
string | $group | The dot-separated form group path. |
Références $field, et $groups.
Référencé par FormField\renderField().
|
staticprotected |
|
staticprotected |
|
staticprotected |