Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getAssociationsForItem ($id=0, $view=null) | |
getAssociations ($typeName, $id) | |
getItem ($typeName, $id) | |
getType ($typeName='') | |
Fonctions membres publiques hérités de AssociationExtensionHelper | |
hasAssociationsSupport () | |
getItemTypes () | |
getAssociationList ($typeName, $itemId) | |
getType ($typeName='') | |
getTypeFields ($typeName) | |
getTypeSupport ($typeName) | |
getTypeTables ($typeName) | |
getTypeJoins ($typeName) | |
getTypeTitle ($typeName) | |
getTypeFieldName ($typeName, $fieldName) | |
Attributs protégés | |
$extension = 'com_content' | |
$itemTypes = array('article', 'category') | |
$associationsSupport = true | |
Attributs protégés hérités de AssociationExtensionHelper | |
$extension = 'com_??' | |
$itemTypes = array() | |
$associationsSupport = false | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de AssociationExtensionHelper | |
getSupportTemplate () | |
getFieldsTemplate () | |
Content associations helper.
getAssociations | ( | $typeName, | |
$id | |||
) |
Get the associated items for an item
string | $typeName | The item type |
int | $id | The id of item for which we need the associated items |
Références $context, $id, $type, extension, et Associations\getAssociations().
getAssociationsForItem | ( | $id = 0 , |
|
$view = null |
|||
) |
Method to get the associations for a given item.
integer | $id | Id of the item |
string | $view | Name of the view |
Implémente AssociationExtensionInterface.
Références $id, $view, et AssociationHelper\getAssociations().
getItem | ( | $typeName, | |
$id | |||
) |
Get item information
string | $typeName | The item type |
int | $id | The id of item for which we need the associated items |
Références $id, Table\getInstance(), et null.
getType | ( | $typeName = '' | ) |
|
protected |
Has the extension association support
|
protected |
The extension name
|
protected |
Array of item types