CoreFiles by mySites.guru
Category.php38 lines, 850 bytes, from Joomla_4.2.7-Stable-Full_Package.zip
Raw History Compare with 4.2.6
md5
048d71b37b9f6d7227b8438c06a39bf8
sha1
3e3acca344029fdee79e77946f9befd8dd26fcb1
sha256
21eaa754612157b8aac6a931d2bd3d075d6e042424aafff5acb693ef012cc03d
<?php

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

use Joomla\CMS\Categories\Categories;

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

/**
 * Newsfeed Component Category Tree
 *
 * @since  1.6
 */
class Category extends Categories
{
    /**
     * Constructor
     *
     * @param   array  $options  options
     */
    public function __construct($options = [])
    {
        $options['table'] = '#__newsfeeds';
        $options['extension'] = 'com_newsfeeds';
        $options['statefield'] = 'published';
        parent::__construct($options);
    }
}

The same content is in 6 releases, Joomla 4.2.7-rc1 to 4.3.0-alpha3. See them all, or every version of this file.