org.openpsa.projects projectbroker handler

package org.openpsa.projects

 Methods

find_task_prospects (\org_openpsa_projects_task_dba $task)

Does a local search for persons that match the task constraints

Parameters

$task

\org_openpsa_projects_task_dba&$task Task object to search prospect resources for

Returns

arrayof prospect persons (or false on critical failure)

resolve_person_timeslots ($person, $task)

Looks for free time slots for a given person for a given task

Does the person in question have slots of time available, what are the previous and next events etc

parameter $person person object (alternatively ID, full person will then be loaded from DB)
parameter &$task the task object to search for

Parameters

$person

$task

Returns

arrayof slots

save_task_prospects (\org_openpsa_projects_task_dba $task)

Calls find_task_prospects and saves the results as prospects

Parameters

$task

\org_openpsa_projects_task_dba&$task object to search prospect resources for

Returns

booleanindicating success/failure

_find_task_prospects_filter_by_minimum_time_slot ($task, $prospects)

Parameters

$task

$prospects

 Properties

 

mixed $membership_filter