Class JLanguageAssociations

Description

Utitlity class for associations in multilang

  • since: 3.1

Located in /libraries/cms/language/associations.php (line 19)


	
			
Method Summary
 static array getAssociations (string $extension, string $tablename, string $context, integer $id, [string $pk = 'id'], [string $aliasField = 'alias'], [string $catField = 'catid'])
 static boolean isEnabled ()
Methods
static getAssociations (line 36)

Get the associations.

  • return: The associated items
  • since: 3.1
  • access: public
static array getAssociations (string $extension, string $tablename, string $context, integer $id, [string $pk = 'id'], [string $aliasField = 'alias'], [string $catField = 'catid'])
  • string $extension: The name of the component.
  • string $tablename: The name of the table.
  • string $context: The context
  • integer $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
static isEnabled (line 113)

Method to determine if the language filter Items Associations parameter is enabled.

This works for both site and administrator.

  • return: True if the parameter is implemented; false otherwise.
  • since: 3.2
  • access: public
static boolean isEnabled ()

Documentation generated on Tue, 19 Nov 2013 14:54:08 +0100 by phpDocumentor 1.4.3