JLanguageAssociations::getAssociations
Get the associations.
Signature
public function getAssociations(string
$extension,
[string
$tablename = 'id',
[string
$context = 'id',
[integer
$id = 'id',
[string
$pk = 'id',
[string
$aliasField = 'alias',
[string
$catField = 'catid']]]]]] )
Parameters
-
$extension
- The name of the component.
-
$tablename
- The name of the table.
-
$context
- The context
-
$id
- The primary key value.
-
$pk
- The name of the primary key in the given $table.
-
$aliasField
- If the table has an alias field set it here. Null to not use it
-
$catField
- If the table has a catid field set it here. Null to not use it
Returns
- array
- The associated items