AssociationExtensionInterface

Association Extension Interface for the helper classes

since

3.7.0

Methods

getAssociationsForItem

Method to get the associations for a given item.

getAssociationsForItem(integer $id, string $view = null) : array
since

4.0.0

Arguments

$id

integerId of the item

$view

stringName of the view

Response

arrayArray of associations for the item

hasAssociationsSupport

Checks if the extension supports associations

hasAssociationsSupport() : boolean
since

3.7.0

Response

booleanSupports the extension associations