CoreFiles by mySites.guru
Category.php41 lines, 892 bytes, from Joomla_6.2.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha2
md5
cbafc6cec667b0937874c37e3def8138
sha1
8211b17d9f6c82414f5763fd41342be9149dfb7c
sha256
5b89ae9a0531bb6760a2cd0179dc0a0da51d3e1505d033ed4d95033cb0e74810
<?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';
        $options['accessfield'] = 'access';

        parent::__construct($options);
    }
}

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