Class Timesheet

Description

read-only access to time-tables (project-times and worker-times)

Located in Program_Root/include/timesheet.class.php (line 17)


	
			
Variable Summary
Method Summary
bool Timesheet (mixed $date_start, [mixed $date_end = null])
void db_update (mixed $worker)
void GetWorkerIdList ()
void get_day_form (mixed $pid_list)
void get_day_info ()
void get_day_total ()
void get_last_day ()
void get_next_day ()
void get_worktime ()
void is_pid_in_array (mixed $needle, mixed $haystack)
void LoadWorkerTimes ()
void mail_notify (mixed $address, mixed $fromaddr, mixed $worker)
void SetDate (mixed $date_start, [mixed $date_end = null])
void SetWorker (mixed $worker_id)
void set_daytype (mixed $wid)
bool UpdateWorkType (mixed $worktype)
void update__hours_from_form (mixed $post_vars)
Variables
object Date $date_start (line 24)
array $projects = array() (line 42)
  • var: object Project
  • since: 1.0
mixed $project_times (line 45)
array $worker = array() (line 36)
mixed $worker_times (line 44)
Methods
Constructor Timesheet (line 50)
  • return: success
bool Timesheet (mixed $date_start, [mixed $date_end = null])
db_update (line 308)
void db_update (mixed $worker)
GetWorkerIdList (line 103)
void GetWorkerIdList ()
get_day_form (line 329)
void get_day_form (mixed $pid_list)
get_day_info (line 388)
void get_day_info ()
get_day_total (line 378)
void get_day_total ()
get_last_day (line 275)
void get_last_day ()
get_next_day (line 274)
void get_next_day ()
get_worktime (line 381)
void get_worktime ()
is_pid_in_array (line 277)
void is_pid_in_array (mixed $needle, mixed $haystack)
LoadProjectTimes (line 236)
void LoadProjectTimes ()
LoadWorkerTimes (line 133)
void LoadWorkerTimes ()
mail_notify (line 438)
void mail_notify (mixed $address, mixed $fromaddr, mixed $worker)
SetDate (line 74)

Sets current date

void SetDate (mixed $date_start, [mixed $date_end = null])
  • mixed $date_start: date object date or string
  • mixed $date_end: date object date or string
SetWorker (line 96)

Sets worker_id

void SetWorker (mixed $worker_id)
set_daytype (line 422)
void set_daytype (mixed $wid)
UpdateWorkType (line 265)
  • return: success
bool UpdateWorkType (mixed $worktype)
update__hours_from_form (line 281)
void update__hours_from_form (mixed $post_vars)

Documentation generated on Fri, 26 Sep 2003 15:40:00 +0200 by phpDocumentor 1.2.2