[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Association/ -> AssociationExtensionHelper.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 291 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 functions

  hasAssociationsSupport()
  getItemTypes()
  getAssociationList()
  getType()
  getTypeFields()
  getTypeSupport()
  getTypeTables()
  getTypeJoins()
  getTypeTitle()
  getTypeInformation()
  getTypeFieldName()
  getSupportTemplate()
  getFieldsTemplate()

Functions
Functions that are not part of a class:

hasAssociationsSupport()   X-Ref
Checks if the extension supports associations

return: boolean  Supports the extension associations

getItemTypes()   X-Ref
Get the item types

return: array  Array of item types

getAssociationList($typeName, $itemId)   X-Ref
Get the associated items for an item

param: string  $typeName  The item type
param: int     $itemId    The id of item for which we need the associated items
return: array

getType($typeName = '')   X-Ref
Get information about the type

param: string  $typeName  The item type
return: array  Array of item types

getTypeFields($typeName)   X-Ref
Get information about the fields the type provides

param: string  $typeName  The item type
return: array  Array of support information

getTypeSupport($typeName)   X-Ref
Get information about the fields the type provides

param: string  $typeName  The item type
return: array  Array of support information

getTypeTables($typeName)   X-Ref
Get information about the tables the type use

param: string  $typeName  The item type
return: array  Array of support information

getTypeJoins($typeName)   X-Ref
Get information about the table joins for the type

param: string  $typeName  The item type
return: array  Array of support information

getTypeTitle($typeName)   X-Ref
Get the type title

param: string  $typeName  The item type
return: string  The type title

getTypeInformation($typeName, $part = 'support')   X-Ref
Get information about the type

param: string  $typeName  The item type
param: string  $part      part of the information
return: array Array of support information

getTypeFieldName($typeName, $fieldName)   X-Ref
Get a table field name for a type

param: string  $typeName   The item type
param: string  $fieldName  The item type
return: string

getSupportTemplate()   X-Ref
Get default values for support array

return: array

getFieldsTemplate()   X-Ref
Get default values for fields array

return: array



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer