◆ __construct()
Acc_Operation_Note::__construct |
( |
Jrn_Note_SQL |
$p_Jrn_Note_SQL | ) |
|
Definition at line 39 of file acc_operation_note.class.php.
40 {
41 $this->jrn_note_sql = $p_Jrn_Note_SQL;
42 $this->id=$p_Jrn_Note_SQL->n_id;
43 $this->note=$p_Jrn_Note_SQL->n_text;
44 $this->operation_id=$p_Jrn_Note_SQL->jr_id;
45 }
◆ build_jrn_id()
static Acc_Operation_Note::build_jrn_id |
( |
|
$p_jr_id | ) |
|
|
static |
◆ fromPost()
Acc_Operation_Note::fromPost |
( |
| ) |
|
◆ getJrnNoteSql()
Acc_Operation_Note::getJrnNoteSql |
( |
| ) |
|
◆ getNote()
Acc_Operation_Note::getNote |
( |
| ) |
|
◆ getOperation_id()
Acc_Operation_Note::getOperation_id |
( |
| ) |
|
◆ input()
static Acc_Operation_Note::input |
( |
|
$p_current | ) |
|
|
static |
◆ load()
Acc_Operation_Note::load |
( |
| ) |
|
Definition at line 107 of file acc_operation_note.class.php.
107 :void
108 {
109 $this->jrn_note_sql->load();
110 $this->operation_id=$this->jrn_note_sql->jr_id;
111 $this->note=$this->jrn_note_sql->n_text;
112 $this->id=$this->jrn_note_sql->n_id;
113 }
◆ print()
Acc_Operation_Note::print |
( |
| ) |
|
◆ save()
Acc_Operation_Note::save |
( |
| ) |
|
Definition at line 78 of file acc_operation_note.class.php.
79 {
81 $this->jrn_note_sql->setp("jr_id",$this->operation_id);
82 $this->jrn_note_sql->setp("n_text",$this->note);
83
84 if ( empty($this->jrn_note_sql->n_text) && $this->id > -1 ) {
85 $this->jrn_note_sql->delete();
86 return $this;
87 }
88 $this->jrn_note_sql->save();
89 $this->id=$this->jrn_note_sql->n_id;
90 return $this;
91 }
References $cn, and Dossier\connect().
◆ setJrnNoteSql()
Acc_Operation_Note::setJrnNoteSql |
( |
Jrn_Note_SQL |
$jrn_note_sql | ) |
|
◆ setNote()
Acc_Operation_Note::setNote |
( |
|
$p_note | ) |
|
◆ setOperation_id()
Acc_Operation_Note::setOperation_id |
( |
|
$p_jrid | ) |
|
◆ $id
◆ $jrn_note_sql
Acc_Operation_Note::$jrn_note_sql |
|
private |
◆ $note
Acc_Operation_Note::$note |
|
private |
◆ $operation_id
Acc_Operation_Note::$operation_id |
|
private |
The documentation for this class was generated from the following file: