You've already forked joomla_test
							
							first commit
This commit is contained in:
		
							
								
								
									
										28
									
								
								components/com_contact/helpers/category.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								components/com_contact/helpers/category.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,28 @@
 | 
			
		||||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * @package     Joomla.Site
 | 
			
		||||
 * @subpackage  com_contact
 | 
			
		||||
 *
 | 
			
		||||
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 | 
			
		||||
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
defined('_JEXEC') or die;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Contact Component Category Tree
 | 
			
		||||
 *
 | 
			
		||||
 * @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);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user