CoreFiles by mySites.guru
Category.php38 lines, 856 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
c4a8fc22c3b3dcba3d4a03bf28b18b1c
sha1
1392c18d7c4d811c110f876dbeeb7ba16bf5285c
sha256
90a9607f8b10a15162d999cacb7f63e7e0e2317693aff572808a647bc581562d
<?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 199 releases, Joomla 4.3.0-beta1 to 6.2.0-alpha1. See them all, or every version of this file.