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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe AssociationExtensionHelper
+ Graphe d'héritage de AssociationExtensionHelper:

Fonctions membres publiques

 hasAssociationsSupport ()
 
 getItemTypes ()
 
 getAssociationList ($typeName, $itemId)
 
 getType ($typeName='')
 
 getTypeFields ($typeName)
 
 getTypeSupport ($typeName)
 
 getTypeTables ($typeName)
 
 getTypeJoins ($typeName)
 
 getTypeTitle ($typeName)
 
 getTypeFieldName ($typeName, $fieldName)
 

Fonctions membres protégées

 getSupportTemplate ()
 
 getFieldsTemplate ()
 

Attributs protégés

 $extension = 'com_??'
 
 $itemTypes = array()
 
 $associationsSupport = false
 

Fonctions membres privées

 getTypeInformation ($typeName, $part='support')
 

Description détaillée

Documentation des fonctions membres

◆ getAssociationList()

getAssociationList (   $typeName,
  $itemId 
)

Get the associated items for an item

Paramètres
string$typeNameThe item type
int$itemIdThe id of item for which we need the associated items
Renvoie
array
Depuis
3.7.0

Références $itemId, $items, $key, et ArrayHelper\fromObject().

◆ getFieldsTemplate()

getFieldsTemplate ( )
protected

Get default values for fields array

Renvoie
array
Depuis
3.7.0

◆ getItemTypes()

getItemTypes ( )

Get the item types

Renvoie
array Array of item types
Depuis
3.7.0

◆ getSupportTemplate()

getSupportTemplate ( )
protected

Get default values for support array

Renvoie
array
Depuis
3.7.0

◆ getType()

getType (   $typeName = '')

Get information about the type

Paramètres
string$typeNameThe item type
Renvoie
array Array of item types
Depuis
3.7.0

Références $fields, et $title.

◆ getTypeFieldName()

getTypeFieldName (   $typeName,
  $fieldName 
)

Get a table field name for a type

Paramètres
string$typeNameThe item type
string$fieldNameThe item type
Renvoie
string
Depuis
3.7.0

Références $fields, et $tmp.

◆ getTypeFields()

getTypeFields (   $typeName)

Get information about the fields the type provides

Paramètres
string$typeNameThe item type
Renvoie
array Array of support information
Depuis
3.7.0

◆ getTypeInformation()

getTypeInformation (   $typeName,
  $part = 'support' 
)
private

Get information about the type

Paramètres
string$typeNameThe item type
string$partpart of the information
Renvoie
array Array of support information
Depuis
3.7.0

Références $type.

◆ getTypeJoins()

getTypeJoins (   $typeName)

Get information about the table joins for the type

Paramètres
string$typeNameThe item type
Renvoie
array Array of support information
Depuis
3.7.0

◆ getTypeSupport()

getTypeSupport (   $typeName)

Get information about the fields the type provides

Paramètres
string$typeNameThe item type
Renvoie
array Array of support information
Depuis
3.7.0

◆ getTypeTables()

getTypeTables (   $typeName)

Get information about the tables the type use

Paramètres
string$typeNameThe item type
Renvoie
array Array of support information
Depuis
3.7.0

◆ getTypeTitle()

getTypeTitle (   $typeName)

Get the type title

Paramètres
string$typeNameThe item type
Renvoie
array Array of support information
Depuis
3.7.0

Références $type.

◆ hasAssociationsSupport()

hasAssociationsSupport ( )

Checks if the extension supports associations

Renvoie
boolean Supports the extension associations
Depuis
3.7.0

Implémente AssociationExtensionInterface.

Documentation des champs

◆ $associationsSupport

boolean $associationsSupport = false
protected

Has the extension association support

Depuis
3.7.0

◆ $extension

array $extension = 'com_??'
protected

The extension name

Depuis
3.7.0

◆ $itemTypes

array $itemTypes = array()
protected

Array of item types

Depuis
3.7.0

La documentation de cette classe a été générée à partir du fichier suivant :