CSVFile
in package

Table of Contents

$delimeter  : mixed
$file  : resource|false
$filepath  : mixed
$mode  : mixed
__construct()  : mixed
__destruct()  : mixed
put()  : self

Properties

$delimeter

protected mixed $delimeter = ','

$file

protected resource|false $file = null

$filepath

protected mixed $filepath = ''

$mode

protected mixed $mode = 'w'

Methods

__construct()

public __construct(string $file[, string $mode = 'w' ]) : mixed
Parameters
$file : string
$mode : string = 'w'

Optional. "w" by default.

Tags
since
3.7.0

added new filter - "mphb_csv_file_delimeter".

Return values
mixed

__destruct()

public __destruct() : mixed
Return values
mixed

put()

public put(array<string|int, mixed> $fields) : self
Parameters
$fields : array<string|int, mixed>
Return values
self

Search results