Documentation

hoursfunc.php

Table of Contents

Functions

bookedtime()  : mixed
Functions for handling hours logged to jobs
addtime()  : mixed
outputs columns for hours each day of the week + a column total for the week
showDailyHoursForJob()  : mixed
signin_dates()  : mixed
getUserJobSummaryForPeriod()  : mixed
get all jobs where the given user has logged time within the date period
getHrsForUserJob()  : mixed
getDoorRecs()  : mixed
time_diff()  : mixed

Functions

bookedtime()

Functions for handling hours logged to jobs

bookedtime(mixed $userid) : mixed
Parameters
$userid : mixed
Tags
category

JARS

author

MikePrice mike@price.org

licence

for internal use by Amtek only - copyright Amtek

addtime()

outputs columns for hours each day of the week + a column total for the week

addtime() : mixed

@param mysqli_result::fetch_object $job (t.ts_job,j.job_code,j.job_name,j.job_budget_hours,j.job_type, c.cust_name)

showDailyHoursForJob()

showDailyHoursForJob(mixed $job, mixed $userid, mixed $adj, mixed $dow) : mixed
Parameters
$job : mixed
$userid : mixed
$adj : mixed
$dow : mixed

signin_dates()

signin_dates(mixed $userid, mixed $adj) : mixed
Parameters
$userid : mixed
$adj : mixed

getUserJobSummaryForPeriod()

get all jobs where the given user has logged time within the date period

getUserJobSummaryForPeriod(mixed $userid, mixed $date1, mixed $date2) : mixed

@param int userid

Parameters
$userid : mixed
$date1 : mixed
$date2 : mixed

getHrsForUserJob()

getHrsForUserJob(mixed $jobid, mixed $date, mixed $userid) : mixed
Parameters
$jobid : mixed
$date : mixed
$userid : mixed

getDoorRecs()

getDoorRecs(mixed $qdate, mixed $userid, mixed $dir) : mixed
Parameters
$qdate : mixed
$userid : mixed
$dir : mixed

time_diff()

time_diff(mixed $s) : mixed
Parameters
$s : mixed

        
On this page

Search results