Location: PHPKode > projects > HikaShop > back/controllers/characteristic.php
<?php
/**
 * @package		HikaShop for Joomla!
 * @version		1.4.3
 * @author		hikashop.com
 * @copyright	(C) 2010 HIKARI SOFTWARE. All rights reserved.
 * @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?>
<?php
class CharacteristicController extends hikashopController{
	var $type='characteristic';
	function addcharacteristic(){
		$class = hikashop::get('class.characteristic');
		$status = $class->saveForm();
		JRequest::setVar('cid',$status);
		JRequest::setVar( 'layout', 'addcharacteristic'  );
		return parent::display();
	}
	function editpopup(){
		JRequest::setVar( 'layout', 'editpopup'  );
		return parent::display();
	}
	function selectcharacteristic(){
		JRequest::setVar( 'layout', 'selectcharacteristic'  );
		return parent::display();
	}
	function usecharacteristic(){
		JRequest::setVar( 'layout', 'usecharacteristic'  );
		return parent::display();
	}
}
Return current item: HikaShop