Class csv
CSV stream interface.
- Core\Object implements Core\Chainable
-
Core\Set
implements
Core\Accessor
-
Core\Stream
-
Core\Stream\Driver\csv
Package: Core\Stream
Since: 3.0
Requires: PHP 5.3
Version: 1.0
Located at Stream/Driver/csv.inc.php
Methods summary
public
|
|
protected
mixed
|
|
public
|
|
public
|
|
public
integer|null
|
|
public
array
|
|
public
integer
|
Methods inherited from Core\Stream
__destruct(),
_verifyAccess(),
autocreate(),
canCreate(),
canRead(),
canStat(),
canTruncate(),
canWrite(),
chain(),
flush(),
readRemainingSegments(),
readln(),
stderr(),
stdin(),
stdout(),
writeln()
Methods inherited from Core\Object
__autocreateFactory(),
__call(),
__processParameters(),
__toString(),
attachMethod(),
getValueForKey(),
getValueForKeyPath(),
getValueForUndefinedKey(),
hash(),
issetValueForKey(),
setValueForKey(),
setValueForKeyPath(),
setValueForUndefinedKey(),
uuid()
Constants summary
string |
DelimiterParameter
CSV data cells delimiter character in system character set. Defaults to »,«. |
#
'delimiter'
|
string |
EnclosureParameter
CSV data cells optional enclosure character in system character set. Defaults to »"«. |
#
'enclosure'
|
string |
EscapeParameter
CSV data cells escape character in system character set. Defaults to »\«. |
#
'escape'
|
string |
LineEndingParameter
Line ending string for CSV data rows (used for writing only). Defined in system character set. Defaults to LF. |
#
'line-ending'
|
string |
LookAheadParameter
Maximum line length in bytes of the entire CSV file for look-ahead optimisation. Defaults to 0 (disabled look-ahead optimisation). |
#
'look-ahead'
|
Constants inherited from Core\Stream
Constants inherited from Core\Object
AnyParameterType,
AutochainParameterType,
AutocreateParameterType,
BooleanParameterType,
CharParameterType,
EnumParameterType,
IntegerParameterType,
RealParameterType,
StringParameterType,
UserParameterType
Properties summary
protected
|
$_v_stream
|
Properties inherited from Core\Stream
$_v_access,
$_v_decoder,
$_v_encoder,
$_v_established,
$_v_onDismantle,
$_v_parameters,
$_v_uri
Magic properties inherited from Core\Stream
$access,
$canCreate,
$canRead,
$canStat,
$canTruncate,
$canWrite,
$decoder,
$encoder,
$established,
$length,
$onDismantle,
$parameters,
$uri