Пример #1
0
 function display($tpl = null)
 {
     JToolBarHelper::title(JText::_('OSE Membership™ Reporter - Member List Export') . ' <small><small>Version ' . COMPONENTVER . '</small></small>', 'logo');
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     oseHTML::initScript();
     oseHTML::script($com . '/ose/app.msg.js');
     oseHTML::script($com . '/grid/limit.js');
     parent::display($tpl);
 }
Пример #2
0
 function display($tpl = null)
 {
     JToolBarHelper::title(JText::_('OSE Membership™ Reporter - Additional Info Export') . ' <small><small>Version ' . COMPONENTVER . '</small></small>', 'logo');
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     oseHTML::initScript();
     oseHTML::script($com . '/ose/app.msg.js');
     oseHTML::script($com . '/grid/limit.js');
     $model = $this->getModel();
     $columns = $model->getColumns();
     $store = $model->getStore();
     //$columns = trim($columns,"[");
     //$columns = trim($columns,"]");
     //print_r($columns);exit;
     //print_r($fields);exit;
     $redirectUrl = 'TEST';
     $document = JFactory::getDocument();
     $document->addScriptDeclaration('var column = ' . $columns . '; var store = ' . $store . ';');
     parent::display($tpl);
 }