JAssociationExtensionHelper

Implements \JAssociationExtensionInterface

Association Extension Helper

abstract
since

3.7.0

package

Joomla.Platform

Methods

getAssociationList

Get the associated items for an item

getAssociationList(string $typeName, integer $itemId) : array
since

3.7.0

Arguments

$typeName

stringThe item type

$itemId

integerThe id of item for which we need the associated items

Response

array

getFieldsTemplate

Get default values for fields array

getFieldsTemplate() : array
since

3.7.0

Response

array

getItemTypes

Get the item types

getItemTypes() : array
since

3.7.0

Response

arrayArray of item types

getSupportTemplate

Get default values for support array

getSupportTemplate() : array
since

3.7.0

Response

array

getType

Get information about the type

getType(string $typeName = '') : array
since

3.7.0

Arguments

$typeName

stringThe item type

Response

arrayArray of item types

getTypeFieldName

Get a table field name for a type

getTypeFieldName(string $typeName, string $fieldName) : string
since

3.7.0

Arguments

$typeName

stringThe item type

$fieldName

stringThe item type

Response

string

getTypeFields

Get information about the fields the type provides

getTypeFields(string $typeName) : array
since

3.7.0

Arguments

$typeName

stringThe item type

Response

arrayArray of support information

getTypeInformation

Get information about the type

getTypeInformation(string $typeName, string $part = 'support') : array
since

3.7.0

Arguments

$typeName

stringThe item type

$part

stringpart of the information

Response

arrayArray of support information

getTypeJoins

Get information about the table joins for the type

getTypeJoins(string $typeName) : array
since

3.7.0

Arguments

$typeName

stringThe item type

Response

arrayArray of support information

getTypeSupport

Get information about the fields the type provides

getTypeSupport(string $typeName) : array
since

3.7.0

Arguments

$typeName

stringThe item type

Response

arrayArray of support information

getTypeTables

Get information about the tables the type use

getTypeTables(string $typeName) : array
since

3.7.0

Arguments

$typeName

stringThe item type

Response

arrayArray of support information

getTypeTitle

Get the type title

getTypeTitle(string $typeName) : array
since

3.7.0

Arguments

$typeName

stringThe item type

Response

arrayArray of support information

hasAssociationsSupport

Checks if the extension supports associations

hasAssociationsSupport() : boolean
since

3.7.0

Response

booleanSupports the extension associations

Properties

extension

The extension name

Type(s)

array

itemTypes

Array of item types

Type(s)

array

associationsSupport

Has the extension association support

Type(s)

boolean