CoreFiles by mySites.guru
Category.php34 lines, 748 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
c21157c85a7864f3e48ea96db1f65ca7
sha1
44aa9cf175d4512cea95ed9d6552c843106a9d62
sha256
c13dab2ad48d9a4ea122ebda1ec9243346dbb60abab563aa5f8cda3741c074f5
<?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;

/**
 * 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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.