[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 173 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers projectmanager/inc/class.datasource.inc.php projectmanager/inc/class.boprojectmanager.inc.php |
datasource_projectmanager:: (4 méthodes):
datasource_projectmanager()
read()
get()
copy()
Classe: datasource_projectmanager - X-Ref
DataSource for ProjectManager itselfdatasource_projectmanager() X-Ref |
Constructor |
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 Reimplemented from the datasource parent to set the start-date of the project itself and call it's sync-all method if necessary to move it's elements 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) |
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,$target_data=null) X-Ref |
Copy the datasource of a projectelement (sub-project) and re-link it with project $target param: array $element source project element representing an sub-project, $element['pe_app_id'] = pm_id param: int $target target project id param: array $target_data=null data of target-project, atm only pm_number is used return: array/boolean array(pm_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 |