Source for file association.php
Documentation is available at association.php
* @subpackage com_categories
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* Category Component Association Helper
* @subpackage com_categories
public static $category_association =
true;
* Method to get the associations for a given category
* @param integer $id Id of the item
* @param string $extension Name of the component
* @return array Array of associations for the component categories
jimport('helper.route', JPATH_COMPONENT_SITE);
$helperClassname =
ucfirst(substr($extension, 4)) .
'HelperRoute';
foreach ($associations as $tag =>
$item)
$return[$tag] =
$helperClassname::getCategoryRoute($item, $tag);
$return[$tag] =
'index.php?option=' .
$extension .
'&view=category&id=' .
$item;
Documentation generated on Tue, 19 Nov 2013 14:54:06 +0100 by phpDocumentor 1.4.3