AssociationExtensionHelper

Implements AssociationExtensionInterface

Association Extension Helper

abstract
since

3.7.0

package

Joomla CMS

Methods

getAssociationList

Get the associated items for an item

getAssociationList( typeName,  itemId) : mixed||string|int
since

3.7.0

Arguments

typeName

stringThe item type

itemId

intThe id of item for which we need the associated items

Response

array<string|int, mixed>

getFieldsTemplate

Get default values for fields array

getFieldsTemplate() : mixed||string|int
since

3.7.0

Response

array<string|int, mixed>

getItemTypes

Get the item types

getItemTypes() : mixed||string|int
since

3.7.0

Response

array<string|int, mixed>Array of item types

getSupportTemplate

Get default values for support array

getSupportTemplate() : mixed||string|int
since

3.7.0

Response

array<string|int, mixed>

getType

Get information about the type

getType( typeName = '') : mixed||string|int
since

3.7.0

Arguments

typeName

stringThe item type

Response

array<string|int, mixed>Array of item types

getTypeFieldName

Get a table field name for a type

getTypeFieldName( typeName,  fieldName) : 
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( typeName) : mixed||string|int
since

3.7.0

Arguments

typeName

stringThe item type

Response

array<string|int, mixed>Array of support information

getTypeInformation

Get information about the type

getTypeInformation( typeName,  part = 'support') : mixed||string|int
since

3.7.0

Arguments

typeName

stringThe item type

part

stringpart of the information

Response

array<string|int, mixed>Array of support information

getTypeJoins

Get information about the table joins for the type

getTypeJoins( typeName) : mixed||string|int
since

3.7.0

Arguments

typeName

stringThe item type

Response

array<string|int, mixed>Array of support information

getTypeSupport

Get information about the fields the type provides

getTypeSupport( typeName) : mixed||string|int
since

3.7.0

Arguments

typeName

stringThe item type

Response

array<string|int, mixed>Array of support information

getTypeTables

Get information about the tables the type use

getTypeTables( typeName) : mixed||string|int
since

3.7.0

Arguments

typeName

stringThe item type

Response

array<string|int, mixed>Array of support information

getTypeTitle

Get the type title

getTypeTitle( typeName) : 
since

3.7.0

Arguments

typeName

stringThe item type

Response

stringThe type title

hasAssociationsSupport

Checks if the extension supports associations

hasAssociationsSupport() : 
since

3.7.0

Response

boolSupports the extension associations

Properties

extension

The extension name

since

3.7.0

Type(s)

array<string|int, mixed>

itemTypes

Array of item types

since

3.7.0

Type(s)

array<string|int, mixed>

associationsSupport

Has the extension association support

since

3.7.0

Type(s)

bool