Lines Matching refs:participants
263 $participants = array();
266 $participants[$user_id] = array('user_id' => $user_id, 'subscribent' => '1');
270 if (!isset($participants[$op])) {
271 $participants[$op] = array('user_id' => $op, 'original_poster' => '1');
273 $participants[$op]['original_poster'] = '1';
277 if (!isset($participants[$as])) {
278 $participants[$as] = array('user_id' => $as, 'assignee' => '1');
280 $participants[$as]['assignee'] = '1';
283 foreach($participants as $part) {
372 //participants
374 $participants = array();
375 $org_participants = array_filter(explode(',', $row['participants']));
377 $participants[$user_id] = array('user_id' => $user_id);
382 if (!isset($participants[$user_id])) {
383 $participants[$user_id] = array('user_id' => $user_id);
385 $participants[$user_id]['subscribent'] = '1';
391 if (!isset($participants[$user_id])) {
392 $participants[$user_id] = array('user_id' => $user_id);
394 $participants[$user_id]['commentator'] = '1';
398 if (!isset($participants[$user_id])) {
399 $participants[$user_id] = array('user_id' => $user_id);
401 $participants[$user_id]['task_assignee'] = '1';
405 if (!isset($participants[$op])) {
406 $participants[$op] = array('user_id' => $op, 'original_poster' => '1');
408 $participants[$op]['original_poster'] = '1';
412 if (!isset($participants[$cor])) {
413 $participants[$cor] = array('user_id' => $cor, 'coordinator' => '1');
415 $participants[$cor]['coordinator'] = '1';
418 foreach($participants as $part) {