35 lines
674 B
PHP
35 lines
674 B
PHP
|
|
<?php
|
||
|
|
/*
|
||
|
|
* @component SQL 2 Excel Component
|
||
|
|
* @copyright Copyright (C) Joomla-R-Us, joomla-r-us.com
|
||
|
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3
|
||
|
|
*/
|
||
|
|
|
||
|
|
// No direct access
|
||
|
|
defined( '_JEXEC' ) or die( 'Restricted access' );
|
||
|
|
|
||
|
|
jimport( 'joomla.application.component.model' );
|
||
|
|
|
||
|
|
require_once( JPATH_COMPONENT.DS.'helpers'.DS.'common.php' );
|
||
|
|
|
||
|
|
class Sql2excelModelPre extends JModel
|
||
|
|
{
|
||
|
|
|
||
|
|
|
||
|
|
function __construct()
|
||
|
|
{
|
||
|
|
parent::__construct();
|
||
|
|
global $mainframe, $option;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
function getWorksheets($wb_id)
|
||
|
|
{
|
||
|
|
return Sql2excelCommon::getWorksheets($wb_id);
|
||
|
|
}
|
||
|
|
|
||
|
|
function getWorkbookParms($wb_id)
|
||
|
|
{
|
||
|
|
return Sql2excelCommon::getWorkbookParms($wb_id);
|
||
|
|
}
|
||
|
|
}
|