function __construct() { parent::__construct(); $this->CI->load->model('topic_model'); $this->CI->load->model('score_model'); $this->CI->load->model('student_mark_model'); $this->CI->load->library('commonobj'); }
function __construct() { parent::__construct(); $this->CI->load->library('PhpOffice/PHPExcel'); if (PHP_SAPI == 'cli') { die('This example should only be run from a Web Browser'); } }
function __construct() { parent::__construct(); $this->CI->load->model('storage_model'); $this->CI->load->model('storage_question_model'); $this->CI->load->model('storage_answer_model'); $this->CI->load->library(['components/word', 'utils', 'form_validation']); }
function __construct() { parent::__construct(); Autoloader::register(); Settings::loadConfig(); Settings::setTempDir(getcwd() . TMPDIR_WORD); // Set writers $writers = array('Word2007' => 'docx', 'ODText' => 'odt', 'RTF' => 'rtf', 'HTML' => 'html', 'PDF' => 'pdf'); // Set PDF renderer if (Settings::getPdfRendererPath() === null) { $writers['PDF'] = null; } // Return to the caller script when runs by CLI if (PHP_SAPI == 'cli') { return; } }
function __construct() { parent::__construct(); $this->CI->load->library(['form_validation']); }
function __construct() { parent::__construct(); $this->CI->load->library(['form_validation']); $this->CI->load->model('student_info_model'); }