| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
constants for the different types of data or'ed together eg. for egw_pm_eletemts.pe_overwrite
| Poids: | 327 lignes (11 kb) |
| Inclus ou requis: | 7 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
datasource:: (4 méthodes):
datasource()
get()
read()
element_values()
Classe: datasource - X-Ref
DataSource baseclass of the ProjectManager| datasource($type=null) X-Ref |
| Constructor param: string $type=null type of the datasource |
| get($data_id) X-Ref |
| get an item from the underlaying app and convert applying data ia a datasource array A datasource array can contain values for the keys: completiton, {planned|used}_time, {planned|used}_budget, {planned|real}_start, {planned|real}_end and pe_status Not set values mean they are not supported by the datasource. Reimplent this function for spezial datasource types (not read!) 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) |
| read($data_id,$pe_data=null) X-Ref |
| read an item from a datasource (via the get methode) and try to set (guess) some not supported values A datasource array can contain values for the keys: completiton, {planned|used}_time, {planned|used}_budget, {planned|real}_start, {planned|real}_end Not set values mean they are not supported by the datasource. param: mixed $data_id id as used in the link-class for that app, or complete entry as array param: array $pe_data data of the project-element or null, eg. to use the constraints return: array/boolean array with the data supported by that source or false on error (eg. not found, not availible) |
| element_values($data) X-Ref |
| reading the not-overwritten values from the element-data Can be used instead of read, if there's no read-access to the datasource itself param: array $data element data return: array |
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |