AssociationExtensionInterface
Association Extension Interface for the helper classes
since |
3.7.0 |
---|---|
package |
Joomla CMS |
Methods
getAssociationsForItem
Method to get the associations for a given item.
getAssociationsForItem( id, view = null) : mixed||string|int
since |
4.0.0 |
---|
Arguments
- id
int
Id of the item- view
string
Name of the view
Response
array<string|int, mixed>
Array of associations for the item
hasAssociationsSupport
Checks if the extension supports associations
hasAssociationsSupport() :
since |
3.7.0 |
---|
Response
bool
Supports the extension associations