true)); return $model; } public function import() { exit('import not allowed'); $app = JFactory::getApplication(); if ($importClass = PagebuilderckHelper::getParams('import')) { $importClass->importFile(); } else { $msg = JText::_('CK_PAGEBUILDERCK_PARAMS_NOT_FOUND'); $app->redirect("index.php?option=com_pagebuilderck&view=modules2", $msg, 'error'); return false; } } public function export() { exit('export not allowed'); $app = JFactory::getApplication(); if ($exportClass = PagebuilderckHelper::getParams('export')) { $exportClass->exportFile(); } else { $msg = JText::_('CK_PAGEBUILDERCK_PARAMS_NOT_FOUND'); $app->redirect("index.php?option=com_pagebuilderck&view=modules2", $msg, 'error'); return false; } } }