CoreFiles by mySites.guru
Category.php40 lines, 844 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
c4042b57a04838c3216475f0826fba3c
sha1
fb4bc69ed70f7a3883e05c2a7445c2f8e6b06c5a
sha256
24106d20e46f16c410a7daacc1a899a26b081c05d61649ac62805dc044201763
<?php

/**
 * @package     Joomla.Site
 * @subpackage  com_content
 *
 * @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\Content\Site\Service;

use Joomla\CMS\Categories\Categories;

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

/**
 * Content Component Category Tree
 *
 * @since  1.6
 */
class Category extends Categories
{
    /**
     * Class constructor
     *
     * @param   array  $options  Array of options
     *
     * @since   1.7.0
     */
    public function __construct($options = [])
    {
        $options['table']     = '#__content';
        $options['extension'] = 'com_content';

        parent::__construct($options);
    }
}

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