CoreFiles by mySites.guru
Category.php40 lines, 836 bytes, from Joomla_5.2.2-Stable-Full_Package.zip
Raw History Compare with 5.2.1
md5
411123f466c9392f1d3a4aef154eae94
sha1
e9c88c96e2299df2253135046eecb13d2c1f0d93
sha256
21d1bf08b83dbca045d922cac4e7ef623f76750b407a4eaee39befa4c5a753fb
<?php

/**
 * @package     Joomla.Site
 * @subpackage  com_banners
 *
 * @copyright   (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Banners\Site\Service;

use Joomla\CMS\Categories\Categories;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Banners Component Category Tree
 *
 * @since  1.6
 */
class Category extends Categories
{
    /**
     * Constructor
     *
     * @param   array  $options  Array of options
     *
     * @since   1.6
     */
    public function __construct($options = [])
    {
        $options['table']     = '#__banners';
        $options['extension'] = 'com_banners';

        parent::__construct($options);
    }
}

The same content is in 208 releases, Joomla 4.2.7-rc1 to 6.2.0-beta1. See them all, or every version of this file.