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 | getAssociations ($extension, $tablename, $context, $id, $pk='id', $aliasField='alias', $catField='catid', $advClause=array()) |
static | isEnabled () |
Utility class for associations in multilang
|
static |
Get the associations.
string | $extension | The name of the component. |
string | $tablename | The name of the table. |
string | $context | The context |
integer | $id | The primary key value. |
string | $pk | The name of the primary key in the given $table. |
string | $aliasField | If the table has an alias field set it here. Null to not use it |
string | $catField | If the table has a catid field set it here. Null to not use it |
array | $advClause | Additional advanced 'where' clause; use c as parent column key, c2 as associations column key |
Références $context, $db, $extension, $id, $item, $items, et $query.
|
static |
Method to determine if the language filter Associations parameter is enabled. This works for both site and administrator.
Références $enabled, $params, et Multilanguage\isEnabled().