Manage the table amortissement.amortissement_histo. More...
Public Member Functions | |
__construct (&$p_cn, $p_id=-1) | |
get_parameter ($p_string) | |
set_parameter ($p_string, $p_value) | |
get_info () | |
verify () | |
save () | |
seek ($cond='', $p_array=null) | |
retrieve array of object thanks a condition More... | |
insert () | |
update () | |
load () | |
load a object More... | |
delete () | |
Static Public Member Functions | |
static | test_me () |
Unit test for the class. More... | |
Protected Attributes | |
$variable | |
Manage the table amortissement.amortissement_histo.
Definition at line 38 of file class_amortissement_histo_sql.php.
Amortissement_Histo_Sql::__construct | ( | & | $p_cn, |
$p_id = -1 |
|||
) |
Definition at line 48 of file class_amortissement_histo_sql.php.
References $key, ha_id, and load().
Amortissement_Histo_Sql::delete | ( | ) |
Definition at line 249 of file class_amortissement_histo_sql.php.
References $res, $sql, and ha_id.
Amortissement_Histo_Sql::get_info | ( | ) |
Definition at line 86 of file class_amortissement_histo_sql.php.
Amortissement_Histo_Sql::get_parameter | ( | $p_string | ) |
Definition at line 66 of file class_amortissement_histo_sql.php.
Amortissement_Histo_Sql::insert | ( | ) |
Definition at line 138 of file class_amortissement_histo_sql.php.
References $sql, a_id, h_pj, ha_id, jr_internal, and verify().
Referenced by save().
Amortissement_Histo_Sql::load | ( | ) |
load a object
Definition at line 220 of file class_amortissement_histo_sql.php.
References $key, $res, $sql, and ha_id.
Referenced by __construct().
Amortissement_Histo_Sql::save | ( | ) |
Definition at line 103 of file class_amortissement_histo_sql.php.
References ha_id, insert(), and update().
Amortissement_Histo_Sql::seek | ( | $cond = '' , |
|
$p_array = null |
|||
) |
retrieve array of object thanks a condition
$cond | condition (where clause) (optional by default all the rows are fetched) you can use this parameter for the order or subselect |
$p_array | array for the SQL stmt |
Definition at line 119 of file class_amortissement_histo_sql.php.
Amortissement_Histo_Sql::set_parameter | ( | $p_string, | |
$p_value | |||
) |
Definition at line 76 of file class_amortissement_histo_sql.php.
|
static |
Unit test for the class.
Definition at line 257 of file class_amortissement_histo_sql.php.
Amortissement_Histo_Sql::update | ( | ) |
Definition at line 195 of file class_amortissement_histo_sql.php.
References $res, $sql, a_id, h_pj, ha_id, jr_internal, and verify().
Referenced by save().
Amortissement_Histo_Sql::verify | ( | ) |
Definition at line 90 of file class_amortissement_histo_sql.php.
References a_id.
Referenced by insert(), and update().
|
protected |
Definition at line 42 of file class_amortissement_histo_sql.php.