Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
SAFE MODE
/
modules
/
exports
/
controllers
:
Exports.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * CSV Export Controller * @property CSVExport $CSVExport * @property Exports_module $exports_module */ class Exports extends AdminController { public function __construct() { parent::__construct(); if (!is_admin()) { access_denied('admin'); } $this->load->library(EXPORTS_MODULE_NAME . '/exports_module'); } public function index() { if ($this->input->post()) { $this->exports_module->export($this->input->post()); } $data['features'] = $this->exports_module->getFeaturesWithNames(); $data['title'] = _l('csv_exports'); $this->load->view(EXPORTS_MODULE_NAME . '/manage', $data); } }