noalyss Version-9
|
Manage the account from the table tmp_pcmn. More...
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. More... | |
get_lib () | |
Return the name of a account it doesn't change any data member. More... | |
get_parameter ($p_string) | |
insert () | |
load () | |
Get all the value for this object from the database the data member are set. More... | |
save () | |
searchValue ($p_value) | |
set_parameter ($p_string, $p_value) | |
update () | |
verify () | |
Check before inserting or updating. More... | |
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().
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 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.
References $ret.
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().
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.
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().
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().
|
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.