[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/data/ -> Tracker.php (sommaire)

(pas de description)

Poids: 235 lignes (9 kb)
Inclus ou requis: 86 fois
Référencé: 0 fois
Nécessite: 5 fichiers
 include/utils/UserInfoUtil.php
 include/logging.php
 include/database/PearDatabase.php
 config.php
 include/utils/utils.php

Définit 1 class

Tracker:: (6 méthodes):
  Tracker()
  track_view()
  get_recently_viewed()
  delete_history()
  delete_item_history()
  prune_history()


Classe: Tracker  - X-Ref

Tracker()   X-Ref
Pas de description

track_view($user_id, $current_module, $item_id, $item_summary)   X-Ref
Add this new item to the vtiger_tracker vtiger_table.  If there are too many items (global config for now)
then remove the oldest item.  If there is more than one extra item, log an error.
If the new item is the same as the most recent item then do not change the list
Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
All Rights Reserved.
Contributor(s): ______________________________________..


get_recently_viewed($user_id, $module_name = "")   X-Ref
param $user_id - The id of the user to retrive the history for
param $module_name - Filter the history to only return records from the specified module.  If not specified all records are returned
return - return the array of result set rows from the query.  All of the vtiger_table vtiger_fields are included
Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
All Rights Reserved.
Contributor(s): ______________________________________..


delete_history( $user_id, $item_id)   X-Ref
INTERNAL -- This method cleans out any entry for a record for a user.
It is used to remove old occurances of previously viewed items.
Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
All Rights Reserved.
Contributor(s): ______________________________________..


delete_item_history($item_id)   X-Ref
INTERNAL -- This method cleans out any entry for a record.
Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
All Rights Reserved.
Contributor(s): ______________________________________..


prune_history($user_id)   X-Ref
INTERNAL -- This function will clean out old history records for this user if necessary.
Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
All Rights Reserved.
Contributor(s): ______________________________________..




Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7