Lines Matching refs:participant
401 $participant = $this->get_participant($user_id, true);
402 if ($participant === false) {
403 throw new ConsistencyViolationException("$user_id isn't participant");
434 $participant = $this->get_participant($user_id, true);
435 if ($participant == false) {
436 $participant = array_fill_keys($possible_flags, 0);
438 $participant['task_id'] = $this->id;
439 $participant['user_id'] = $user_id;
440 $participant['added_by'] = $this->model->user_nick;
441 $participant['added_date'] = date('c');
443 $values = array_merge($participant, array_fill_keys($flags, 1));
448 if ($participant['removed'] == '1') {
463 $participant = $this->get_participant($user_id);
464 if ($participant === false) {
465 throw new ConsistencyViolationException("$user_id isn't participant");
468 if ($participant['assignee'] == '1') {