|
noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
|
Class to manage the company parameter (address, name...) More...
Collaboration diagram for Noalyss_Parameter_Folder:Public Member Functions | |
| __construct ($p_cn) | |
| __toString () | |
| check ($p_attr, $p_value) | |
| check_anc_filter ($p_value) | |
| check that the filter for ANC operation is valid | |
| input_select_format () | |
| build a SELECT html input | |
| match_analytic ($p_accounting) | |
| Check if an accounting match the anc_filter. | |
| save ($p_attr) | |
| save the parameter into the database by inserting or updating | |
| update () | |
| save data | |
Data Fields | |
| $db | |
| $MY_ALPHANUM | |
| $MY_ANALYTIC | |
| $MY_ANC_FILTER | |
| $MY_CHECK_PERIODE | |
| $MY_CITY | |
| $MY_COUNTRY | |
| $MY_COUNTRY_CODE | |
| $MY_CURRENCY | |
| $MY_DATE_SUGGEST | |
| $MY_DEFAULT_ROUND_ERROR_CRED | |
| $MY_DEFAULT_ROUND_ERROR_DEB | |
| $MY_FAX | |
| $MY_INVOICE_FORMAT | |
| Default invoice format : BASIC, UBL21BEL, FACTURXFR. | |
| $MY_NAME | |
| $MY_NUMBER | |
| $MY_PHONE | |
| $MY_PJ_SUGGEST | |
| $MY_POSTCODE | |
| $MY_REPORT | |
| In Belgium , we need a report on the beginning of the exercice , not in France,. | |
| $MY_STOCK | |
| $MY_STREET | |
| $MY_STRICT | |
| $MY_TVA | |
| $MY_TVA_USE | |
| $MY_UPDLAB | |
| const | VALID_INVOICE_FORMAT =['BASIC','UBL21BEL','FACTURXFR'] |
Class to manage the company parameter (address, name...)
Definition at line 27 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::__construct | ( | $p_cn | ) |
Definition at line 59 of file noalyss_parameter_folder.class.php.
References $i, $Res, $row, db, DatabaseCore\fetch_array(), and DatabaseCore\num_row().
Here is the call graph for this function:| Noalyss_Parameter_Folder::__toString | ( | ) |
Definition at line 74 of file noalyss_parameter_folder.class.php.
References $r.
| Noalyss_Parameter_Folder::check | ( | $p_attr, | |
| $p_value ) |
Definition at line 122 of file noalyss_parameter_folder.class.php.
References check_anc_filter(), noalyss_str_replace(), and VALID_INVOICE_FORMAT.
Referenced by save().
Here is the call graph for this function:| Noalyss_Parameter_Folder::check_anc_filter | ( | $p_value | ) |
check that the filter for ANC operation is valid
| $p_value | (string) list of digit for accounting separated by comma |
| if | value contains a no-digit value |
Definition at line 109 of file noalyss_parameter_folder.class.php.
References _.
Referenced by check().
| Noalyss_Parameter_Folder::input_select_format | ( | ) |
build a SELECT html input
Definition at line 246 of file noalyss_parameter_folder.class.php.
References $MY_INVOICE_FORMAT, $select_format_invoice, _, and VALID_INVOICE_FORMAT.
| Noalyss_Parameter_Folder::match_analytic | ( | $p_accounting | ) |
Check if an accounting match the anc_filter.
| string | $p_accounting |
Definition at line 231 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::save | ( | $p_attr | ) |
save the parameter into the database by inserting or updating
| $p_attr | give the attribut name |
Definition at line 167 of file noalyss_parameter_folder.class.php.
References $e, $Res, $value, check(), and db.
Referenced by update().
Here is the call graph for this function:| Noalyss_Parameter_Folder::update | ( | ) |
save data
Definition at line 197 of file noalyss_parameter_folder.class.php.
References save().
Here is the call graph for this function:| Noalyss_Parameter_Folder::$db |
Definition at line 29 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_ALPHANUM |
Definition at line 45 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_ANALYTIC |
Definition at line 39 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_ANC_FILTER |
Definition at line 50 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_CHECK_PERIODE |
Definition at line 43 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_CITY |
Definition at line 37 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_COUNTRY |
Definition at line 36 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_COUNTRY_CODE |
Definition at line 52 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_CURRENCY |
Definition at line 51 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_DATE_SUGGEST |
Definition at line 44 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_DEFAULT_ROUND_ERROR_CRED |
Definition at line 49 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_DEFAULT_ROUND_ERROR_DEB |
Definition at line 48 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_FAX |
Definition at line 38 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_INVOICE_FORMAT |
Default invoice format : BASIC, UBL21BEL, FACTURXFR.
Definition at line 54 of file noalyss_parameter_folder.class.php.
Referenced by input_select_format().
| Noalyss_Parameter_Folder::$MY_NAME |
Definition at line 30 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_NUMBER |
Definition at line 33 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_PHONE |
Definition at line 35 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_PJ_SUGGEST |
Definition at line 42 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_POSTCODE |
Definition at line 34 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_REPORT |
In Belgium , we need a report on the beginning of the exercice , not in France,.
Definition at line 53 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_STOCK |
Definition at line 47 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_STREET |
Definition at line 32 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_STRICT |
Definition at line 40 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_TVA |
Definition at line 31 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_TVA_USE |
Definition at line 41 of file noalyss_parameter_folder.class.php.
| Noalyss_Parameter_Folder::$MY_UPDLAB |
Definition at line 46 of file noalyss_parameter_folder.class.php.
| const Noalyss_Parameter_Folder::VALID_INVOICE_FORMAT =['BASIC','UBL21BEL','FACTURXFR'] |
Definition at line 57 of file noalyss_parameter_folder.class.php.
Referenced by check(), and input_select_format().