CoreFiles by mySites.guru
Category.php38 lines, 781 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
b334b99bb21e95493a3a85b236f2b472
sha1
e06e9871599790fd97836a7abd8de56c109647a7
sha256
1651c7b262f64bac8761d3770587eed26856cb80c4b9ca91b4eec0661a5eb0b8
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2019 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 6 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha12. See them all, or every version of this file.