[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/inc/ -> class.contenthistory.inc.php (sommaire)

(pas de description)

Poids: 199 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

contenthistory:: (5 méthodes):
  contenthistory()
  expireMapping()
  getHistory()
  getTSforAction()
  updateTimeStamp()


Classe: contenthistory  - X-Ref

class to maintain history of content

This class contains all logic of the egw content history.
contenthistory()   X-Ref


expireMapping($_appName, $_id)   X-Ref
mark mapping as expired

mark a mapping from externel to internal id as expired, when
a egw entry gets deleted

param: $_appName string the appname example: infolog_notes
param: $_id int the internal egwapp content id
return: bool

getHistory($_appName, $_action, $_ts)   X-Ref
get the timestamp for action

find which content changed since $_ts for application $_appName

param: $_appName string the appname example: infolog_notes
param: $_action string can be modify, add or delete
param: $_ts string timestamp where to start searching from
return: array containing the global UID's

getTSforAction($_guid, $_action)   X-Ref
when got a entry last added/modified/deleted

param: $_guid string the global uid of the entry
param: $_action string can be add, delete or modify
return: string the last timestamp

updateTimeStamp($_appName, $_id, $_action, $_ts)   X-Ref
update a timestamp for action

param: $_appName string the appname example: infolog_notes
param: $_id int the app internal content id
param: $_action string can be modify, add or delete
param: $_ts string timestamp where to start searching from
return: boolean returns allways true



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7