|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Manage the CSV : manage files and write CSV record. More...
Collaboration diagram for Noalyss_Csv:Public Member Functions | |
| __construct ($p_filename) | |
| add ($p_item, $p_type="text") | |
| get_element () | |
| get_encoding () | |
| get_filename () | |
| get_sep_dec () | |
| get_sep_field () | |
| get_size () | |
| send_header () | |
| set_element ($element) | |
| set_encoding ($encoding) | |
| set_filename ($filename) | |
| set_sep_dec ($sep_dec) | |
| set_sep_field ($sep_field) | |
| set_size ($size) | |
| write () | |
| write_header ($p_array) | |
Protected Member Functions | |
| clean () | |
| clean the row | |
| correct_name () | |
| encode ($str) | |
| nb ($p_number) | |
| format the number for the CSV export | |
Private Attributes | |
| $element | |
| $encoding | |
| $filename | |
| $sep_dec | |
| $sep_field | |
| $size | |
Manage the CSV : manage files and write CSV record.
Definition at line 33 of file noalyss_csv.class.php.
| Noalyss_Csv::__construct | ( | $p_filename | ) |
Definition at line 43 of file noalyss_csv.class.php.
References size.
| Noalyss_Csv::add | ( | $p_item, | |
| $p_type = "text" ) |
Definition at line 118 of file noalyss_csv.class.php.
|
protected |
clean the row
Definition at line 162 of file noalyss_csv.class.php.
References size.
Referenced by write().
|
protected |
Definition at line 62 of file noalyss_csv.class.php.
References noalyss_str_replace(), and record_log().
Referenced by send_header().
Here is the call graph for this function:
|
protected |
Definition at line 182 of file noalyss_csv.class.php.
| Noalyss_Csv::get_element | ( | ) |
Definition at line 209 of file noalyss_csv.class.php.
References $element.
| Noalyss_Csv::get_encoding | ( | ) |
Definition at line 263 of file noalyss_csv.class.php.
References $encoding.
| Noalyss_Csv::get_filename | ( | ) |
Definition at line 191 of file noalyss_csv.class.php.
References $filename.
| Noalyss_Csv::get_sep_dec | ( | ) |
Definition at line 245 of file noalyss_csv.class.php.
References $sep_dec.
| Noalyss_Csv::get_sep_field | ( | ) |
Definition at line 227 of file noalyss_csv.class.php.
References $sep_field.
| Noalyss_Csv::get_size | ( | ) |
|
protected |
format the number for the CSV export
| $p_number | number |
Definition at line 171 of file noalyss_csv.class.php.
References $r, isNumber(), and noalyss_trim().
Here is the call graph for this function:| Noalyss_Csv::send_header | ( | ) |
Definition at line 82 of file noalyss_csv.class.php.
References correct_name().
Here is the call graph for this function:| Noalyss_Csv::set_element | ( | $element | ) |
| Noalyss_Csv::set_encoding | ( | $encoding | ) |
| mixed | $encoding |
Definition at line 272 of file noalyss_csv.class.php.
References $encoding.
| Noalyss_Csv::set_filename | ( | $filename | ) |
| mixed | $filename |
Definition at line 200 of file noalyss_csv.class.php.
References $filename.
| Noalyss_Csv::set_sep_dec | ( | $sep_dec | ) |
| Noalyss_Csv::set_sep_field | ( | $sep_field | ) |
| mixed | $sep_field |
Definition at line 236 of file noalyss_csv.class.php.
References $sep_field.
| Noalyss_Csv::set_size | ( | $size | ) |
| Noalyss_Csv::write | ( | ) |
Definition at line 134 of file noalyss_csv.class.php.
References $export, $i, $sep, $sep_field, $size, clean(), noalyss_str_replace(), and size.
Here is the call graph for this function:| Noalyss_Csv::write_header | ( | $p_array | ) |
Definition at line 99 of file noalyss_csv.class.php.
References $i, $p_array, $sep, and $sep_field.
|
private |
Definition at line 37 of file noalyss_csv.class.php.
Referenced by get_element(), and set_element().
|
private |
Definition at line 40 of file noalyss_csv.class.php.
Referenced by get_encoding(), and set_encoding().
|
private |
Definition at line 36 of file noalyss_csv.class.php.
Referenced by get_filename(), and set_filename().
|
private |
Definition at line 39 of file noalyss_csv.class.php.
Referenced by get_sep_dec(), and set_sep_dec().
|
private |
Definition at line 38 of file noalyss_csv.class.php.
Referenced by get_sep_field(), set_sep_field(), write(), and write_header().
|
private |
Definition at line 41 of file noalyss_csv.class.php.
Referenced by add(), get_size(), set_size(), and write().