Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

util Namespace Reference

## Detailed Description

csv util class. csv = comma separated value.

features:

- supports any separator char sequence, default is semicolon ";"
- supports separator characters in the values. eg you use a ; as separator, your line may look like blah;hello world;"foo";"foo;bar";"this is a ""string""";got it?;foo as you can see, the values can be in "quotes". if your text uses quotes itself as in the "string" example, they are escaped in ms-style with 2 quotes. and by using quotes we can even have your separator inside the text (example "foo;bar").
- line breaks. a csv line may spread over multiple lines using crlf in a field value. see the checkMultiline param and the _checkMultiline() method.

missing:

- option to change quote char (") to something else

thanks to: steffen at hung dot ch

dependencies: none.

Author
  andrej arn <andrej at blueshoes dot org>

Copyright
  blueshoes.org

Version
  4.2.$id$

@access pseudostatic

eZTrade/eZPublish 2.2 intergration by Bob Sims // admin.nosp@m.@rid.nosp@m.erhau.nosp@m.s.co.nosp@m.m

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.