public function __construct($id_service, $filename = false) { $this->name = 'CSV'; $this->extension = 'csv'; parent::__construct($id_service, $filename); self::$_delimiter = trim(self::$_serviceData['delimiter']) == '' ? Configuration::get('EXPORTFREE_DELIMITER') : self::$_serviceData['delimiter']; self::$_enclosure = trim(self::$_serviceData['enclosure']) == '' ? Configuration::get('EXPORTFREE_ENCLOSURE') : self::$_serviceData['enclosure']; self::$_delimiter = ExportTools::delimiterByKeyWord(self::$_delimiter); self::$_enclosure = ExportTools::getEnclosureFromId(self::$_enclosure); }
public function __construct(array $attributes = array()) { parent::__construct($attributes); $this->type = 'html'; $this->template = 'exports.templates.bootstrap'; }
public function __construct($title, $fileName = 'export', $params = array(), $charset = 'UTF-8') { $this->delimiter = isset($params['delimiter']) ? $params['delimiter'] : $this->delimiter; $this->withBOM = isset($params['withBOM']) ? $params['withBOM'] : $this->withBOM; parent::__construct($title, $fileName, $params, $charset); }
public function __construct($tilte, $fileName = 'export', $params = array(), $charset = 'UTF-8') { $this->objPHPExcel = new \PHPExcel(); parent::__construct($tilte, $fileName, $params, $charset); }
public function __construct(array $attributes = array()) { parent::__construct($attributes); $this->type = 'csv'; }