[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 451 lignes (14 kb) |
Inclus ou requis: | 36 fois |
Référencé: | 0 fois |
Nécessite: | 6 fichiers include/utils/UserInfoUtil.php include/logging.php include/database/PearDatabase.php data/Tracker.php config.php include/utils/utils.php |
SugarBean:: (13 méthodes):
save()
get_list()
get_full_list()
create_list_query()
process_list_query()
track_view()
mark_deleted()
list_view_parse_additional_sections()
get_list_view_array()
get_list_view_data()
get_where()
retrieve_by_string_fields()
process_special_fields()
save($module_name= '') X-Ref |
This method implements a generic insert and update logic for any SugarBean This method only works for subclasses that implement the same variable names. This method uses the presence of an id vtiger_field that is not null to signify and update. The id vtiger_field should not be set otherwise. todo - Add support for vtiger_field type validation and encoding of parameters. Portions created by SugarCRM are Copyright (C) SugarCRM, Inc. All Rights Reserved. Contributor(s): ______________________________________.. |
get_list($order_by = "", $where = "", $row_offset = 0, $limit=-1, $max=-1) X-Ref |
This function retrieves a record of the appropriate type from the DB. It fills in all of the vtiger_fields from the DB into the object it was called on. param $id - If ID is specified, it overrides the current value of $this->id. If not specified the current value of $this->id will be used. returns this - The object that it was called apon or null if exactly 1 record was not found. Portions created by SugarCRM are Copyright (C) SugarCRM, Inc. All Rights Reserved. Contributor(s): ______________________________________.. |
get_full_list($order_by = "", $where = "") X-Ref |
This function returns a full (ie non-paged) list of the current object type. Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.. All Rights Reserved.. Contributor(s): ______________________________________.. |
create_list_query($order_by, $where) X-Ref |
Pas de description |
process_list_query($query, $row_offset, $limit= -1, $max_per_page = -1) X-Ref |
Pas de description |
track_view($user_id, $current_module,$id='') X-Ref |
Track the viewing of a detail record. This leverages get_summary_text() which is object specific params $user_id - The user that is viewing the record. Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.. All Rights Reserved.. Contributor(s): ______________________________________.. |
mark_deleted($id) X-Ref |
Pas de description |
list_view_parse_additional_sections(&$list_form) X-Ref |
Pas de description |
get_list_view_array() X-Ref |
Pas de description |
get_list_view_data() X-Ref |
Pas de description |
get_where(&$fields_array) X-Ref |
Pas de description |
retrieve_by_string_fields($fields_array, $encode=true) X-Ref |
Pas de description |
process_special_fields() X-Ref |
Pas de description |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |