Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
	public function Init(ISC_ADMIN_EXPORTOPTIONS $options)
	{
		parent::Init($options);

		$headers = $this->filetype->GetHeaders(true, false);

		$this->headers = $headers;

		$this->fields = $this->filetype->FlattenFields();
	}
Exemplo n.º 3
0
 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();
 }
Exemplo n.º 4
0
	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();
	}