Back to Joomla project (class list)

Class Associations - list of methods

Utility class for associations in multilang
Package: Joomla\CMS\Language
Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Language/Associations.php
Project: Joomla

Method Summary

public static array
(mixed $extension, mixed $tablename, mixed $context, mixed $id, mixed $pk = 'id', mixed $aliasField = 'alias', mixed $catField = 'catid', mixed $advClause = array())

Get the associations.
Parameters
  • string $extension The name of the component.
  • string $tablename The name of the table.
  • string $context The context
  • int $id The primary key value.
  • string $pk The name of the primary key in the given $table .
  • string $aliasField If the table has an alias field set it here. Null to not use it
  • string $catField If the table has a catid field set it here. Null to not use it
  • array $advClause Additional advanced 'where' clause; use c as parent column key, c2 as associations column key
Returns
  • array The associated items
Since
  • 3.1
-
  • \Exception
Show source code of this method: getAssociations Source Code

public static bool
()

Method to determine if the language filter Associations parameter is enabled.
Returns
  • bool True if the parameter is implemented; false otherwise.
Since
  • 3.2
Show source code of this method: isEnabled Source Code

Tags Summary

Since
3.1