CoreFiles by mySites.guru
Category.php38 lines, 782 bytes, from Joomla_4.0.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta2
md5
30c2008af21e6c094f4c18ebef0f86e9
sha1
e7bd64c4735376fd7ec5f76869f181a431a7618b
sha256
09031fc7e3e67aa0b722fb790270f6fa796bf7cc3118b69a1fc9c63387b5ac89
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Contact\Site\Service;

\defined('_JEXEC') or die;

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.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.