mother class for the lettering by account and by card use the tables jnt_letter, letter_deb and letter_cred More...
Public Member Functions | |
| __construct ($p_init) | |
| constructor | |
| delete () | |
| get_info () | |
| get_linked ($p_jlid) | |
| get_parameter ($p_string) | |
| insert () | |
| insert_couple ($j_id1, $j_id2) | |
| *Use to just insert a couple of lettered operation | |
| load () | |
| save ($p_array) | |
| save from array | |
| seek ($cond, $p_array=null) | |
| retrieve * row thanks a condition | |
| set_parameter ($p_string, $p_value) | |
| show_letter ($p_jid) | |
| show_list ($p_type) | |
| *wrapper : it call show_all, show_lettered or show_not_lettered depending of the parameter | |
| update () | |
| verify () | |
Static Public Member Functions | |
| static | test_me () |
| Unit test for the class. | |
Protected Member Functions | |
| show_all () | |
| *show all the record from jrnx and their status (linked or not) *it fills the array $this->content | |
| show_lettered () | |
| *show only the lettered records from jrnx *it fills the array $this->content | |
| show_lettered_diff () | |
| *show only the lettered records from jrnx *it fills the array $this->content | |
| show_not_lettered () | |
| *show only the not lettered records from jrnx *it fills the array $this->content | |
Protected Attributes | |
| $variable | |
mother class for the lettering by account and by card use the tables jnt_letter, letter_deb and letter_cred
Definition at line 37 of file class_lettering.php.
| Lettering::__construct | ( | $p_init | ) |
constructor
| $p_init | resource to database |
Definition at line 52 of file class_lettering.php.
| Lettering::delete | ( | ) |
Definition at line 387 of file class_lettering.php.
| Lettering::get_info | ( | ) |
Definition at line 171 of file class_lettering.php.
| Lettering::get_linked | ( | $p_jlid | ) |
Definition at line 267 of file class_lettering.php.
Referenced by show_letter().
| Lettering::get_parameter | ( | $p_string | ) |
Definition at line 63 of file class_lettering.php.
References $idx.
| Lettering::insert | ( | ) |
Definition at line 248 of file class_lettering.php.
References verify().
| Lettering::insert_couple | ( | $j_id1, | |
| $j_id2 | |||
| ) |
*Use to just insert a couple of lettered operation
Definition at line 86 of file class_lettering.php.
References db.
| Lettering::load | ( | ) |
Definition at line 384 of file class_lettering.php.
| Lettering::save | ( | $p_array | ) |
save from array
| $p_array | 'gDossier' => string '13' (length=2)
'letter_j_id' =>
ck => array
|
Definition at line 188 of file class_lettering.php.
References $count, $deb, $i, $p_array, and db.
| Lettering::seek | ( | $cond, | |
$p_array = null |
|||
| ) |
retrieve * row thanks a condition
Definition at line 241 of file class_lettering.php.
| Lettering::set_parameter | ( | $p_string, | |
| $p_value | |||
| ) |
Definition at line 73 of file class_lettering.php.
References $idx.
|
protected |
*show all the record from jrnx and their status (linked or not) *it fills the array $this->content
Definition at line 257 of file class_lettering.php.
References $r.
Referenced by show_list().
| Lettering::show_letter | ( | $p_jid | ) |
Definition at line 350 of file class_lettering.php.
References $r, $sql, db, get_linked(), and HtmlInput\hidden().
|
protected |
*show only the lettered records from jrnx *it fills the array $this->content
Definition at line 285 of file class_lettering.php.
References $r.
Referenced by show_list().
|
protected |
*show only the lettered records from jrnx *it fills the array $this->content
Definition at line 299 of file class_lettering.php.
References $r.
Referenced by show_list().
| Lettering::show_list | ( | $p_type | ) |
*wrapper : it call show_all, show_lettered or show_not_lettered depending of the parameter
| $p_type | poss. values are all, unletter, letter |
Definition at line 330 of file class_lettering.php.
References show_all(), show_lettered(), show_lettered_diff(), and show_not_lettered().
|
protected |
*show only the not lettered records from jrnx *it fills the array $this->content
Definition at line 315 of file class_lettering.php.
References $r.
Referenced by show_list().
|
static |
| Lettering::update | ( | ) |
Definition at line 379 of file class_lettering.php.
References verify().
| Lettering::verify | ( | ) |
Definition at line 175 of file class_lettering.php.
Referenced by insert(), and update().
|
protected |
Definition at line 40 of file class_lettering.php.