| @@ 2339-2339 (lines=1) @@ | ||
| 2336 | */ |
|
| 2337 | function freetime($participants,$start,$end,$duration=1,$cal_id=0) |
|
| 2338 | { |
|
| 2339 | if ($this->debug > 2) $this->bo->debug_message(__METHOD__.'(participants=%1, start=%2, end=%3, duration=%4, cal_id=%5)',true,$participants,$start,$end,$duration,$cal_id); |
|
| 2340 | ||
| 2341 | $busy = $this->bo->search(array( |
|
| 2342 | 'start' => $start, |
|
| @@ 2409-2409 (lines=1) @@ | ||
| 2406 | } |
|
| 2407 | $ft_start = $event['end']; |
|
| 2408 | } |
|
| 2409 | if ($this->debug > 0) $this->bo->debug_message('uiforms::freetime(participants=%1, start=%2, end=%3, duration=%4, cal_id=%5) freetime=%6',true,$participants,$start,$end,$duration,$cal_id,$freetime); |
|
| 2410 | ||
| 2411 | return $freetime; |
|
| 2412 | } |
|