| Current Path : /home/digilove/www/modules/mod_sj_basic_news/ |
| Current File : /home/digilove/www/modules/mod_sj_basic_news/mod_sj_basic_news.php |
<?php
/**
* @package Sj Basic News
* @version 2.5
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* @copyright (c) 2016 YouTech Company. All Rights Reserved.
* @author YouTech Company http://www.smartaddons.com
*
*/
defined('_JEXEC') or die;
if(!isset($params) || !(count($params) > 0)) return;
require_once dirname(__FILE__).'/core/helper.php';
$layout_name = $params->get('layout', 'default');
$cacheid = md5(serialize(array ($layout_name, $module->module)));
$cacheparams = new stdClass;
$cacheparams->cachemode = 'id';
$cacheparams->class = 'SjBasicNewsHelper';
$cacheparams->method = 'getList';
$cacheparams->methodparams = $params;
$cacheparams->modeparams = $cacheid;
$list = JModuleHelper::moduleCache ($module, $params, $cacheparams);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
require JModuleHelper::getLayoutPath($module->module,$layout_name);