|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Manage the account from the table tmp_pcmn. More...
Collaboration diagram for Acc_Account:Public Member Functions | |
| __construct (Database $p_cn, $pcm_val="") | |
| count ($p_value) | |
| delete () | |
| find_by_value ($p_pcm_val) | |
| find_parent () | |
| Find the parent of an account. | |
| get_lib () | |
| Return the name of a account it doesn't change any data member. | |
| get_parameter ($p_string) | |
| insert () | |
| load () | |
| Get all the value for this object from the database the data member are set. | |
| save () | |
| searchValue ($p_value) | |
| set_parameter ($p_string, $p_value) | |
| update () | |
| verify () | |
| Check before inserting or updating. | |
Data Fields | |
| $db | |
Static Public Attributes | |
| static | $type |
Private Attributes | |
| $data_sql | |
Manage the account from the table tmp_pcmn.
Definition at line 28 of file acc_account.class.php.
| Acc_Account::__construct | ( | Database | $p_cn, |
| $pcm_val = "" ) |
| type | $p_cn | Database connection |
| type | $pcm_val | Accounting tmp_pcmn.pcm_val |
Definition at line 48 of file acc_account.class.php.
References $id, db, and DatabaseCore\get_value().
Here is the call graph for this function:| Acc_Account::count | ( | $p_value | ) |
Definition at line 102 of file acc_account.class.php.
| Acc_Account::delete | ( | ) |
Definition at line 174 of file acc_account.class.php.
References _, and EXC_PARAM_VALUE.
| Acc_Account::find_by_value | ( | $p_pcm_val | ) |
| Acc_Account::find_parent | ( | ) |
Find the parent of an account.
Definition at line 111 of file acc_account.class.php.
Referenced by verify().
| Acc_Account::get_lib | ( | ) |
Return the name of a account it doesn't change any data member.
Definition at line 77 of file acc_account.class.php.
| Acc_Account::get_parameter | ( | $p_string | ) |
Definition at line 63 of file acc_account.class.php.
| Acc_Account::insert | ( | ) |
Definition at line 169 of file acc_account.class.php.
References verify().
Here is the call graph for this function:| Acc_Account::load | ( | ) |
Get all the value for this object from the database the data member are set.
Definition at line 97 of file acc_account.class.php.
| Acc_Account::save | ( | ) |
Definition at line 190 of file acc_account.class.php.
Here is the call graph for this function:| Acc_Account::searchValue | ( | $p_value | ) |
Definition at line 89 of file acc_account.class.php.
| Acc_Account::set_parameter | ( | $p_string, | |
| $p_value ) |
Definition at line 68 of file acc_account.class.php.
| Acc_Account::update | ( | ) |
Definition at line 164 of file acc_account.class.php.
References verify().
Here is the call graph for this function:| Acc_Account::verify | ( | ) |
Check before inserting or updating.
Definition at line 126 of file acc_account.class.php.
References $account, $count, _, EXC_DUPLICATE, EXC_PARAM_VALUE, find_parent(), and noalyss_trim().
Referenced by insert(), save(), and update().
Here is the call graph for this function:
|
private |
Definition at line 31 of file acc_account.class.php.
| Acc_Account::$db |
$db database connection
Definition at line 30 of file acc_account.class.php.
|
static |
Definition at line 32 of file acc_account.class.php.