[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/infolog/inc/ -> class.datasource_infolog.inc.php (sommaire)

(pas de description)

Poids: 139 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 projectmanager/inc/class.datasource.inc.php
 infolog/inc/class.boinfolog.inc.php

Définit 1 class

datasource_infolog:: (3 méthodes):
  datasource_infolog()
  get()
  copy()


Classe: datasource_infolog  - X-Ref

DataSource for InfoLog

The InfoLog datasource set's only real start- and endtimes, plus planned and used time and
the responsible user as resources (not always the owner too!).
The read method of the extended datasource class sets the planned start- and endtime:
- planned start from the end of a start constrain
- planned end from the planned time and a start-time
- planned start and end from the "real" values

datasource_infolog()   X-Ref
Constructor


get($data_id)   X-Ref
get an entry from the underlaying app (if not given) and convert it into a datasource array

param: mixed $data_id id as used in the link-class for that app, or complete entry as array
return: array/boolean array with the data supported by that source or false on error (eg. not found, not availible)

copy($element,$target,$extra=null)   X-Ref
Copy the datasource of a projectelement (InfoLog entry) and re-link it with project $target

param: array $element source project element representing an InfoLog entry, $element['pe_app_id'] = info_id
param: int $target target project id
param: array $target_data=null data of target-project, atm not used by the infolog datasource
return: array/boolean array(info_id,link_id) on success, false otherwise



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