class for the group of the analytic account More...
Public Member Functions | |
| __construct ($p_cn) | |
| display_html () | |
| export_csv () | |
| get_from_array ($p_array) | |
| fill the object thanks an array | |
| get_result () | |
| insert () | |
| insert into the database an object | |
| load () | |
| load from the database and make an object | |
| myList () | |
| remove () | |
| remove from the database | |
| set_sql_filter () | |
| show_button ($p_hidden="") | |
| display the button export CSV | |
Public Member Functions inherited from Anc_Print | |
| Anc_Print ($p_cn) | |
| check () | |
| display_form ($p_hidden="") | |
| Compute the form to display. | |
| get_request () | |
| complete the object with the data in $_REQUEST | |
| set_sql_filter () | |
| Set the filter (account_date) | |
Static Public Member Functions | |
| static | test_me () |
Data Fields | |
| $db | |
| $ga_description | |
| $ga_id | |
| $pa_id | |
Data Fields inherited from Anc_Print | |
| $db | |
| $from | |
| $from_poste | |
| $to | |
| $to_poste | |
class for the group of the analytic account
Definition at line 35 of file class_anc_group.php.
| Anc_Group::__construct | ( | $p_cn | ) |
Definition at line 42 of file class_anc_group.php.
References db.
| Anc_Group::display_html | ( | ) |
Definition at line 185 of file class_anc_group.php.
References $array, alert(), Anc_Print\check(), and get_result().
| Anc_Group::export_csv | ( | ) |
Definition at line 220 of file class_anc_group.php.
References $array, $i, get_result(), nb(), and printf.
| Anc_Group::get_from_array | ( | $p_array | ) |
| Anc_Group::get_result | ( | ) |
Definition at line 159 of file class_anc_group.php.
References $ret, $sql, db, and set_sql_filter().
Referenced by display_html(), and export_csv().
| Anc_Group::insert | ( | ) |
insert into the database an object
Definition at line 54 of file class_anc_group.php.
References $a, $sql, db, and Database\escape_string().
| Anc_Group::load | ( | ) |
load from the database and make an object
Definition at line 86 of file class_anc_group.php.
References $array, $res, $sql, db, and Database\fetch_all().
| Anc_Group::myList | ( | ) |
Definition at line 110 of file class_anc_group.php.
References $array, $m, $obj, $r, $res, $sql, db, and Database\fetch_all().
| Anc_Group::remove | ( | ) |
remove from the database
Definition at line 74 of file class_anc_group.php.
| Anc_Group::set_sql_filter | ( | ) |
Definition at line 131 of file class_anc_group.php.
References $sql, from, from_poste, to, and to_poste.
Referenced by get_result().
| Anc_Group::show_button | ( | $p_hidden = "" | ) |
display the button export CSV
| $p_hidden | is a string containing hidden items |
Definition at line 204 of file class_anc_group.php.
References $r, from, from_poste, HtmlInput\hidden(), HtmlInput\submit(), to, and to_poste.
|
static |
| Anc_Group::$db |
Definition at line 37 of file class_anc_group.php.
| Anc_Group::$ga_description |
Definition at line 39 of file class_anc_group.php.
| Anc_Group::$ga_id |
Definition at line 38 of file class_anc_group.php.
| Anc_Group::$pa_id |
Definition at line 40 of file class_anc_group.php.