noalyss Version-9
|
Manage the table parm_code which contains the custom parameter for the module accountancy. More...
Public Member Functions | |
__construct ($p_cn, $p_id=-1) | |
display () | |
Display an object, with the tag. More... | |
form () | |
Display a form to enter info about a parm_code object with the tag. More... | |
load () | |
Complete a parm_code object thanks the p_code More... | |
load_all () | |
Load all parmCode return an array of Acc_Parm_Code object More... | |
save () | |
update a parm_object into the database p_code is not updatable More... | |
Data Fields | |
$db | |
$p_code | |
$p_comment | |
$p_value | |
Manage the table parm_code which contains the custom parameter for the module accountancy.
Definition at line 29 of file acc_parm_code.class.php.
Acc_Parm_Code::__construct | ( | $p_cn, | |
$p_id = -1 |
|||
) |
Definition at line 36 of file acc_parm_code.class.php.
References $p_id, db, and load().
Acc_Parm_Code::display | ( | ) |
Display an object, with the tag.
Definition at line 106 of file acc_parm_code.class.php.
References $r.
Acc_Parm_Code::form | ( | ) |
Display a form to enter info about a parm_code object with the tag.
Definition at line 122 of file acc_parm_code.class.php.
References $p_code, $p_comment, $p_value, $poste, $r, $value, and Dossier\hidden().
Acc_Parm_Code::load | ( | ) |
Complete a parm_code object thanks the p_code
Definition at line 166 of file acc_parm_code.class.php.
References $Res, $row, $sql, db, DatabaseCore\fetch_array(), and DatabaseCore\num_row().
Referenced by __construct().
Acc_Parm_Code::load_all | ( | ) |
Load all parmCode return an array of Acc_Parm_Code object
Definition at line 52 of file acc_parm_code.class.php.
References $array, $idx, $r, $Res, $row, $sql, db, and DatabaseCore\fetch_all().
Acc_Parm_Code::save | ( | ) |
update a parm_object into the database p_code is not updatable
Definition at line 77 of file acc_parm_code.class.php.
References $Res, $sql, alert(), db, and sql_string().
Acc_Parm_Code::$db |
$db database connection
Definition at line 31 of file acc_parm_code.class.php.
Acc_Parm_Code::$p_code |
$p_code parm_code.p_code primary key
Definition at line 32 of file acc_parm_code.class.php.
Referenced by form().
Acc_Parm_Code::$p_comment |
$p_comment parm_code.p_comment
Definition at line 34 of file acc_parm_code.class.php.
Referenced by form().
Acc_Parm_Code::$p_value |
$p_value parm_code.p_value
Definition at line 33 of file acc_parm_code.class.php.
Referenced by form().