public function Init($type, $templateid, $where, $vendorid) { parent::Init($type, $templateid, $where, $vendorid); $headers = $type->GetHeaders(true, false); $this->headers = $headers; $this->fields = $type->FlattenFields(); }
public function Init(ISC_ADMIN_EXPORTOPTIONS $options) { parent::Init($options); $headers = $this->filetype->GetHeaders(true, false); $this->headers = $headers; $this->fields = $this->filetype->FlattenFields(); }
public function Init($type, $templateid, $where, $vendorid) { parent::Init($type, $templateid, $where, $vendorid); if (strtoupper($this->settings['FieldSeparator']) == "TAB") { $this->settings['FieldSeparator'] = "\t"; } if ($this->settings['LineEnding'] == "Windows") { $this->lineEnding = "\r\n"; } else { $this->lineEnding = "\n"; } $this->fields = $this->filetype->FlattenFields(); }
public function Init(ISC_ADMIN_EXPORTOPTIONS $options) { parent::Init($options); if (strtoupper($this->settings['FieldSeparator']) == "TAB") { $this->settings['FieldSeparator'] = "\t"; } if ($this->settings['LineEnding'] == "Windows") { $this->lineEnding = "\r\n"; } else { $this->lineEnding = "\n"; } $this->fields = $this->filetype->FlattenFields(); }