|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
this class is above tmp_pcmn_sql and is a view of tmp_pcmn More...
Inheritance diagram for Acc_Plan_SQL:
Collaboration diagram for Acc_Plan_SQL:Public Member Functions | |
| __construct ($p_cn, $p_id=-1) | |
| count ($p_where="", $p_array=null) | |
| delete () | |
| exist () | |
| Count the number of record with the id ,. | |
| get_limit_fiche_qcode () | |
| get_pk_value () | |
| insert () | |
| load () | |
| Load the current row return false if not found. | |
| seek ($cond='', $p_array=null) | |
| retrieve array of object thanks a condition | |
| set_limit_fiche_qcode ($limit_fiche_qcode) | |
| update () | |
Public Member Functions inherited from Data_SQL | |
| __construct (DatabaseCore $p_cn, $p_id=-1) | |
| __toString () | |
| collect_objects ($cond='', $p_array=null) | |
| return an array of objects. | |
| from_array ($p_array) | |
| Transform an array into object. | |
| get ($p_string) | |
| get the value thanks the colum name and not the alias (name). | |
| get_cn () | |
| get_info () | |
| get_name () | |
| get_object ($p_ret, $idx) | |
| get_primary_key () | |
| get_type () | |
| getp ($p_string) | |
| set the value thanks the alias name instead of the colum name | |
| next ($ret, $i) | |
| get_seek return the next object, the return of the query must have all the column of the object | |
| save () | |
| Insert or update : if the row already exists, update otherwise insert. | |
| set ($p_string, $p_value) | |
| set the value thanks the colum name and not the alias (name) | |
| set_cn ($cn) | |
| set_name ($name) | |
| set_pk_value ($p_value) | |
| set_primary_key ($primary_key) | |
| set_type ($type) | |
| setp ($p_string, $p_value) | |
| set the value thanks the alias name instead of the colum name | |
| to_array ($prefix="") | |
| Turn an object (row) into an array, and the key could be prefixed with $prefix. | |
| to_row ($p_array) | |
| turns a row fetched from the DB into a SQL object in updating all his attribute | |
| verify () | |
Private Attributes | |
| $limit_fiche_qcode | |
Additional Inherited Members | |
Data Fields inherited from Data_SQL | |
| $cn | |
| $date_format | |
| Type of the data. | |
| $default | |
| defaullt date format | |
| $name | |
| Database connection. | |
| $primary_key | |
| Array of logical and real name. | |
| $table | |
| $type | |
| Column name of the primary key. | |
this class is above tmp_pcmn_sql and is a view of tmp_pcmn
Definition at line 32 of file acc_plan_sql.class.php.
| Acc_Plan_SQL::__construct | ( | $p_cn, | |
| $p_id = -1 ) |
Definition at line 36 of file acc_plan_sql.class.php.
| Acc_Plan_SQL::count | ( | $p_where = "", | |
| $p_array = null ) |
Reimplemented from Data_SQL.
Definition at line 83 of file acc_plan_sql.class.php.
References $p_array.
| Acc_Plan_SQL::delete | ( | ) |
Reimplemented from Data_SQL.
Definition at line 88 of file acc_plan_sql.class.php.
| Acc_Plan_SQL::exist | ( | ) |
| Acc_Plan_SQL::get_limit_fiche_qcode | ( | ) |
| Acc_Plan_SQL::get_pk_value | ( | ) |
| Acc_Plan_SQL::insert | ( | ) |
Reimplemented from Data_SQL.
Definition at line 109 of file acc_plan_sql.class.php.
| Acc_Plan_SQL::load | ( | ) |
Load the current row return false if not found.
Reimplemented from Data_SQL.
Definition at line 124 of file acc_plan_sql.class.php.
References Data_SQL\$primary_key, $result, $sql, $value, cn, and get_limit_fiche_qcode().
Here is the call graph for this function:| Acc_Plan_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 |
Reimplemented from Data_SQL.
Definition at line 148 of file acc_plan_sql.class.php.
References $p_array, $ret, $sql, cn, and get_limit_fiche_qcode().
Here is the call graph for this function:| Acc_Plan_SQL::set_limit_fiche_qcode | ( | $limit_fiche_qcode | ) |
Definition at line 177 of file acc_plan_sql.class.php.
References $limit_fiche_qcode.
| Acc_Plan_SQL::update | ( | ) |
Reimplemented from Data_SQL.
Definition at line 161 of file acc_plan_sql.class.php.
|
private |
Definition at line 35 of file acc_plan_sql.class.php.
Referenced by get_limit_fiche_qcode(), and set_limit_fiche_qcode().