Back to Joomla project (class list)

Class AssociationExtensionHelper - list of methods

Association Extension Helper

Extends

Package: Joomla\CMS\Association
Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Association/AssociationExtensionHelper.php
Project: Joomla

Method Summary

public bool
()

Checks if the extension supports associations
Returns
  • bool Supports the extension associations
Since
  • 3.7.0
Show source code of this method: hasAssociationsSupport Source Code

public array
()

Get the item types
Returns
  • array Array of item types
Since
  • 3.7.0
Show source code of this method: getItemTypes Source Code

public array
(mixed $typeName, mixed $itemId)

Get the associated items for an item
Parameters
  • string $typeName The item type
  • int $itemId The id of item for which we need the associated items
Returns
  • array
Since
  • 3.7.0
Show source code of this method: getAssociationList Source Code

public array
(mixed $typeName = '')

Get information about the type
Parameters
  • string $typeName The item type
Returns
  • array Array of item types
Since
  • 3.7.0
Show source code of this method: getType Source Code

public array
(mixed $typeName)

Get information about the fields the type provides
Parameters
  • string $typeName The item type
Returns
  • array Array of support information
Since
  • 3.7.0
Show source code of this method: getTypeFields Source Code

public array
(mixed $typeName)

Get information about the fields the type provides
Parameters
  • string $typeName The item type
Returns
  • array Array of support information
Since
  • 3.7.0
Show source code of this method: getTypeSupport Source Code

public array
(mixed $typeName)

Get information about the tables the type use
Parameters
  • string $typeName The item type
Returns
  • array Array of support information
Since
  • 3.7.0
Show source code of this method: getTypeTables Source Code

public array
(mixed $typeName)

Get information about the table joins for the type
Parameters
  • string $typeName The item type
Returns
  • array Array of support information
Since
  • 3.7.0
Show source code of this method: getTypeJoins Source Code

public string
(mixed $typeName)

Get the type title
Parameters
  • string $typeName The item type
Returns
  • string The type title
Since
  • 3.7.0
Show source code of this method: getTypeTitle Source Code

private array
(mixed $typeName, mixed $part = 'support')

Get information about the type
Parameters
  • string $typeName The item type
  • string $part part of the information
Returns
  • array Array of support information
Since
  • 3.7.0
Show source code of this method: getTypeInformation Source Code

public string
(mixed $typeName, mixed $fieldName)

Get a table field name for a type
Parameters
  • string $typeName The item type
  • string $fieldName The item type
Returns
  • string
Since
  • 3.7.0
Show source code of this method: getTypeFieldName Source Code

protected array
()

Get default values for support array
Returns
  • array
Since
  • 3.7.0
Show source code of this method: getSupportTemplate Source Code

protected array
()

Get default values for fields array
Returns
  • array
Since
  • 3.7.0
Show source code of this method: getFieldsTemplate Source Code

Properties Summary

protected array
$extension
The extension name
Since
  • 3.7.0
protected array
$itemTypes
Array of item types
Since
  • 3.7.0
protected bool
$associationsSupport
Has the extension association support
Since
  • 3.7.0

Tags Summary

Since
3.7.0