diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-04 09:01:16 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-04 09:01:16 +0100 |
commit | a20e85a081b257a9b3a8bc90c6aa6c08ec3d18d7 (patch) | |
tree | c69c4081c4efd105d0c1f0b22e6e479e8d3bc554 /REFLECTION |
New package
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..441c0a2 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,46 @@ +Extension [ <persistent> extension #73 csv version 0.3.0 ] { + + - Functions { + Function [ <internal:csv> function csv_array_to_row ] { + + - Parameters [4] { + Parameter #0 [ <required> array $fields ] + Parameter #1 [ <optional> string $delimiter ] + Parameter #2 [ <optional> string $enclosure ] + Parameter #3 [ <optional> string $eolSequence ] + } + - Return [ string ] + } + Function [ <internal:csv> function csv_collection_to_file ] { + + - Parameters [4] { + Parameter #0 [ <required> array $collection ] + Parameter #1 [ <optional> string $delimiter ] + Parameter #2 [ <optional> string $enclosure ] + Parameter #3 [ <optional> string $eolSequence ] + } + - Return [ string ] + } + Function [ <internal:csv> function csv_file_to_collection ] { + + - Parameters [4] { + Parameter #0 [ <required> string $file ] + Parameter #1 [ <optional> string $delimiter ] + Parameter #2 [ <optional> string $enclosure ] + Parameter #3 [ <optional> string $eolSequence ] + } + - Return [ array ] + } + Function [ <internal:csv> function csv_row_to_array ] { + + - Parameters [4] { + Parameter #0 [ <required> string $row ] + Parameter #1 [ <optional> string $delimiter ] + Parameter #2 [ <optional> string $enclosure ] + Parameter #3 [ <optional> string $eolSequence ] + } + - Return [ array ] + } + } +} + |