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 ContentHelperAssociation
+ Graphe d'héritage de ContentHelperAssociation:

Fonctions membres publiques statiques

static getAssociations ($id=0, $view=null, $layout=null)
 
static displayAssociations ($id)
 
- Fonctions membres publiques statiques hérités de CategoryHelperAssociation
static getCategoryAssociations ($id=0, $extension='com_content', $layout=null)
 

Membres hérités additionnels

- Attributs publics statiques hérités de CategoryHelperAssociation
static $category_association = true
 

Description détaillée

Content Component Association Helper

Depuis
3.0

Documentation des fonctions membres

◆ displayAssociations()

static displayAssociations (   $id)
static

Method to display in frontend the associations for a given article

Paramètres
integer$idId of the article
Renvoie
array An array containing the association URL and the related language object
Depuis
3.7.0

Références $id, $language, et $return.

Référencé par ContentViewArticle\display(), et ContentModelArticles\getItems().

◆ getAssociations()

static getAssociations (   $id = 0,
  $view = null,
  $layout = null 
)
static

Method to get the associations for a given item

Paramètres
integer$idId of the item
string$viewName of the view
string$layoutView layout
Renvoie
array Array of associations for the item
Depuis
3.0

Références $component, $date, $db, $groups, $id, $item, $jinput, $layout, $return, $user, $view, ContentHelperRoute\getArticleRoute(), et null.


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