1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
abstract class Report extends CI_Model
{
function __construct()
{
parent::__construct();
$this->output->set_header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
$this->output->set_header('Cache-Control: no-store, no-cache, must-revalidate');
$this->output->set_header('Cache-Control: post-check=0, pre-check=0', FALSE);
$this->output->set_header('Pragma: no-cache');
}
public abstract function getDataColumns();
public abstract function getData(array $inputs);
public abstract function getSummaryData(array $inputs);
}
?>