Documentation

CsvInterface implements Exportable, Importable

Csv interface

Tags
copyright

CLOUDREXX CMS - CLOUDREXX AG

author

CLOUDREXX Development Team info@cloudrexx.com

subpackage

coremodule_listing

Table of Contents

Interfaces

Exportable
Exportable
Importable
Importable

Properties

$lineEnding  : mixed
$separator  : mixed

Methods

__construct()  : mixed
export()  : type
import()  : type

Properties

Methods

__construct()

public __construct([mixed $separator = ',' ][, mixed $lineEnding = " " ]) : mixed
Parameters
$separator : mixed = ','
$lineEnding : mixed = " "

export()

public export(type $twoDimensionalArray) : type
Parameters
$twoDimensionalArray : type
Tags
todo

Add "" around values containing separator

todo

Add support for different charsets, since CSV does not declare which one to use Please note that Excel uses tab as delimiter if charset is unicode and semikolon for ANSI charsets

Return values
type

import()

public import(type $dataAsString) : type
Parameters
$dataAsString : type
Tags
todo

Add "" around values containing separator

todo

Add support for different charsets, since CSV does not declare which one to use Please note that Excel uses tab as delimiter if charset is unicode and semikolon for ANSI charsets

Return values
type

        
On this page

Search results