public function __construct(ExportDataInterface $data = NULL, $filename = '') { parent::__construct($data, $filename); $this->format = new \stdClass(); $this->format->eol = "\r\n"; $this->format->sep = "\\"; }
/** * Constructor * * @param ExportDataInterface $data * @param string $filename * (Optional) Defaults to ''. * @param array $properties */ public function __construct(ExportDataInterface $data = NULL, $filename = '', $properties = array()) { parent::__construct($data, $filename); $this->output = FALSE; $this->excel = new \PHPExcel(); if ($properties) { $this->setProperties($properties); } }
/** * Constructor */ public function __construct(ExportDataInterface $data = NULL, $filename = '') { parent::__construct($data, $filename); $this->format = new \stdClass(); $this->format->bol = ''; $this->format->eol = "\r\n"; $this->format->left = '"'; $this->format->right = '"'; $this->format->sep = ','; $this->format->escape = '"'; $this->format->html = FALSE; }
public function __construct($engine, $fp) { $this->outputFile = $fp; parent::__construct($engine); }