CoreFiles by mySites.guru
Category.php37 lines, 796 bytes, from Joomla_4.2.0-Stable-Full_Package.zip
Raw History Compare with 4.1.5
md5
2dfcd33e4fe0d7fbb8bcb50bbda2f406
sha1
be483fed573a58c271f7ca3f6e0d37609361a675
sha256
e1db8825bdf2c107821f3f50b10cd6449f7765f67b401a5583a3c68cac91b017
<?php

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

use Joomla\CMS\Categories\Categories;

/**
 * Contact Component Category Tree
 *
 * @since  1.6
 */
class Category extends Categories
{
    /**
     * Class constructor
     *
     * @param   array  $options  Array of options
     *
     * @since   1.6
     */
    public function __construct($options = array())
    {
        $options['table']      = '#__contact_details';
        $options['extension']  = 'com_contact';
        $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.