[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_menus/src/Helper/ -> AssociationsHelper.php (summary)

(no description)

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

Defines 1 class

AssociationsHelper:: (4 methods):
  getAssociationsForItem()
  getAssociations()
  getItem()
  getType()


Class: AssociationsHelper  - X-Ref

Menu associations helper.

getAssociationsForItem($id = 0, $view = null)   X-Ref
Method to get the associations for a given item.

param: integer  $id    Id of the item
param: string   $view  Name of the view
return: array   Array of associations for the item

getAssociations($typeName, $id)   X-Ref
Get the associated items for an item

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

getItem($typeName, $id)   X-Ref
Get item information

param: string  $typeName  The item type
param: int     $id        The id of item for which we need the associated items
return: Table|null

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

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



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