<?php
/**
* @package   Gridbox
* @author    Balbooa http://www.balbooa.com/
* @copyright Copyright @ Balbooa
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

namespace Balbooa\Component\Gridbox\Site\Helper;

use Joomla\CMS\Association\AssociationExtensionHelper;
use Joomla\CMS\Language\Associations;
use Joomla\CMS\Table\Table;


\defined('_JEXEC') or die;

class AssociationsHelper extends AssociationExtensionHelper
{
    
    protected $extension = 'com_gridbox';
    protected $itemTypes = ['page', 'app', 'category', 'tag', 'system'];
    protected $associationsSupport = true;

    public function getAssociationsForItem($id = 0, $view = null)
    {
        return AssociationHelper::getAssociations();
    }
}