<?php
/**
 * @package	HikaShop for Joomla!
 * @version	3.4.1
 * @author	hikashop.com
 * @copyright	(C) 2010-2018 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 EntryController extends hikashopController{
	var $type='entry';
	var $pkey = 'entry_id';
	var $table = 'entry';
	function __construct(){
		parent::__construct();
		$this->display[]='export';
	}
	function export(){
		$cids = hikaInput::get()->getVar('cid');
		if(!empty($cids)){
			$_SESSION['hikashop']['entries'] = $cids;
		}else{
			$_SESSION['hikashop']['entries'] = '';
		}
		hikaInput::get()->set( 'layout', 'export'  );
		return parent::display();
	}
}
