CoreFiles by mySites.guru
category.php33 lines, 772 bytes, from Joomla_2.5.2-Stable-Full_Package.zip
Raw History Compare with 2.5.1
md5
fc846565c1330665cddde81f7871ffa2
sha1
e3ac3a49110629b24de073aa944bbe55f082295a
sha256
7570bd01b06a9e0933e47c61810be2f3b76c09e85b78d709de7875286fd34369
<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

// Component Helper
jimport('joomla.application.component.helper');
jimport('joomla.application.categories');

/**
 * Contact Component Category Tree
 *
 * @static
 * @package		Joomla.Site
 * @subpackage	com_contact
 * @since 1.6
 */
class ContactCategories extends JCategories
{
	public function __construct($options = array())
	{
		$options['table'] = '#__contact_details';
		$options['extension'] = 'com_contact';
		$options['statefield'] = 'published';
		parent::__construct($options);
	}
}

The same content is in 9 releases, Joomla 2.5.0 to 2.5.8. See them all, or every version of this file.