datasource_infolog Class Reference

List of all members.

Detailed Description

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:

Inpackage: infolog

Author:
RalfBecker-AT-outdoor-training.de (c) 2005 by RalfBecker-AT-outdoor-training.de http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License


Public Member Functions

array I boolean copy (array $element, int $target, $extra=null)
 Copy the datasource of a projectelement (InfoLog entry) and re-link it with project $target.
 datasource_infolog ()
 Constructor.
array I boolean get (mixed $data_id)
 get an entry from the underlaying app (if not given) and convert it into a datasource array


Constructor & Destructor Documentation

datasource_infolog::datasource_infolog  ) 
 

Constructor.


Member Function Documentation

array I boolean datasource_infolog::copy array $  element,
int $  target,
extra = null
 

Copy the datasource of a projectelement (InfoLog entry) and re-link it with project $target.

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

array I boolean datasource_infolog::get mixed $  data_id  ) 
 

get an entry from the underlaying app (if not given) and convert it into a datasource array

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


The documentation for this class was generated from the following file:
Generated on Tue Apr 4 15:46:17 2006 for EgwIcal by  doxygen 1.4.6