CoreFiles by mySites.guru
Category.php38 lines, 855 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
e393c6ae73bd3aa5e4cd37ce8789bcbd
sha1
b28cf6263419d93b28a1cd24b53df67723a14a31
sha256
aa50d66116c72d096cc5a1c568ca322816f1273638d4be3dde1515668e1f42af
<?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 = array())
    {
        $options['table'] = '#__newsfeeds';
        $options['extension'] = 'com_newsfeeds';
        $options['statefield'] = 'published';
        parent::__construct($options);
    }
}

The same content is in 11 releases, Joomla 4.2.1 to 4.3.0-alpha2. See them all, or every version of this file.