Lines Matching refs:set
91 'type' => array(array('select', array('corrective', 'preventive')), 'NULL'), // only corrective, preventive can be set this way
411 $set = implode(',', array_map(function ($v) { return "$v=0"; }, $flags));
413 $sql = "UPDATE task_participant SET $set WHERE task_id=? AND user_id=?";
446 $set = implode(',', array_map(function($flag) { return "$flag=1"; }, $flags));
449 $set .= ',removed=0';
452 $q = "UPDATE task_participant SET $set WHERE task_id=? AND user_id=?";
547 $tpl->set('task', $this);
548 $tpl->set('style', $style);
549 $tpl->set('no_actions', true);
561 $tpl->set('content', $task_box);
571 $tpl->set('who', $this->model->user_nick);
572 $tpl->set('action', 'mail_task_assignee');
582 $tpl->set('who', '');
583 $tpl->set('action', 'mail_task_remind');
584 $tpl->set('action_replacements', array($days));
595 $tpl->set('who', $this->model->user_nick);
596 $tpl->set('action', 'mail_task_invite');
605 $tpl->set('who', $this->model->user_nick);
606 $tpl->set('action', $action);