PHP Classes

Packages of blueshoes

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of blueshoes (2)  >  Mission progress status  >  Reputation  
Picture of blueshoes
Name: blueshoes <contact>
Classes: 2
Country: ???
Age: ???
All time rank: 1605
Week rank: 195 Up
All time users: 1825
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Bs_CsvUtil.class.php  
comma separated values - read and write
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.

  Files folder image Bs_StopWatch.class.php  
class to measure time intervals in microseconds.
You can take times during a code run and at the end get a time table as HTML or text table. The output will contain total and as delta between each take in microseconds.
Free Code; This Class is part of the BlueShoes PHP Application Framework, see blueshoes.org.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z