Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 76) sorted by relevance

1234

/plugin/bez/db/
H A Dupdate0013.sql7 SELECT thread.id, thread.original_poster, thread.coordinator, thread.closed_by,
8 thread.private, thread.lock, thread.type,
9 thread.create_date, thread.last_activity_date, thread
[all...]
H A Dupdate0014.sql5 SELECT thread.id, thread.original_poster, thread.coordinator, thread.closed_by,
6 thread.private, thread.lock, thread.type,
7 thread.create_date, thread.last_activity_date, thread
[all...]
H A Dupdate0011.sql5 SELECT thread.id, thread.original_poster, thread.coordinator, thread.closed_by,
6 thread.private, thread.lock, thread.type,
7 thread.create_date, thread.last_activity_date, thread
[all...]
H A Dupdate0002.sql4 UPDATE thread SET state='opened' WHERE state='done';
11 thread.coordinator AS coordinator,
18 LEFT JOIN thread ON task.thread_id = thread.id;
22 SELECT thread.id, thread.original_poster, thread.coordinator, thread.closed_by,
23 thread.private, thread
[all...]
H A Dupdate0001.sql1 CREATE TABLE thread ( table
6 closed_by TEXT NULL, -- who closed or rejected the thread
30 ON thread (last_activity_date); -- to speedup order by
33 thread_id INTEGER NOT NULL REFERENCES thread (id),
52 thread_id INTEGER NOT NULL REFERENCES thread (id),
69 thread.coordinator AS coordinator
71 JOIN thread ON thread_comment.thread_id = thread.id;
163 thread_id INTEGER REFERENCES thread (id), --may be null
179 UPDATE thread
[all...]
H A Dupdate0003.sql4 UPDATE thread
8 UPDATE thread
19 UPDATE thread
H A Dupdate0012.sql6 UPDATE thread
10 UPDATE thread
/plugin/bez/tpl/
H A Dthreads.php5 <?php if ($tpl->factory('thread')->permission() >= BEZ_TABLE_PERMISSION_INSERT): ?>
149 <?php foreach ($tpl->get('threads') as $thread): ?>
150 <?php if ($thread->acl_of('id') < BEZ_PERMISSION_VIEW) continue ?>
152 <?php $total_cost += (float) $thread->task_sum_cost ?>
153 <?php $total_task_closed += (int) $thread->task_count_closed ?>
154 <?php $total_task += (int) $thread->task_count ?>
155 <?php $total_corrective += (int) $thread->corrective_count ?>
156 <?php $total_preventive += (int) $thread->preventive_count ?>
158 if ($thread->state == 'opened') {
159 echo 'priority_' . $thread
[all...]
H A Dtask.php2 <?php if ($tpl->get('task')->thread_id != '' && $tpl->get('task')->thread->acl_of('id') >= BEZ_PERMISSION_VIEW): ?>
5 if ($tpl->get('task')->thread->state == 'opened') {
6 echo 'priority_' . $tpl->get('task')->thread->priority;
11 <a href="<?php echo $tpl->url('thread', 'id', $tpl->get('task')->thread->id) ?>">
12 #<?php echo $tpl->get('task')->thread->id ?>
15 <?php if ($tpl->get('task')->thread->type == 'project'): ?>
17 <?php elseif (!empty($tpl->get('task')->thread->label_name)): ?>
18 <?php echo $tpl->get('task')->thread->label_name ?>
23 (<?php echo $tpl->getLang('state_' . $tpl->get('task')->thread
[all...]
/plugin/bez/mdl/
H A DThreadFactory.php14 $r = $this->model->sqlite->query('SELECT create_date FROM thread ORDER BY id LIMIT 1');
38 FROM thread_participant JOIN thread ON thread_participant.thread_id = thread.id
39 WHERE thread.create_date BETWEEN ? AND ?
64 FROM thread_participant JOIN thread ON thread_participant.thread_id = thread.id
65 WHERE thread.create_date BETWEEN ? AND ?";
84 FROM thread_participant JOIN thread ON thread_participant.thread_id = thread.id
194 public function initial_save(Entity $thread, argument
251 update_save(Entity $thread, $data) global() argument
[all...]
H A DThread_commentFactory.php13 public function get_from_thread(Thread $thread, $filters=array(), $orderby='', $limit=false) { argument
14 $filters['thread_id'] = $thread->id;
15 return $this->get_all($filters, $orderby, array('thread' => $thread), $limit);
32 $thread_comment->thread->set_participant_flags($thread_comment->author, array('subscribent', 'commentator'));
37 $thread_comment->thread->set_state('closed');
40 $thread_comment->thread->set_state('rejected');
43 $thread_comment->thread->set_state('opened');
47 $thread_comment->thread->update_last_activity();
54 $thread_comment->thread
[all...]
H A DTaskFactory.php35 public function get_from_thread(Thread $thread) { argument
36 $tasks = $this->model->taskFactory->get_all(array('thread_id' => $thread->id),
37 'thread_comment_id', false, array('thread' => $thread));
52 public function get_with_closing_comment($thread) { argument
60 $stmt = $this->model->sqlite->query($sql, $thread->id);
66 public function get_by_type($thread) { argument
67 $stmt = $this->get_with_closing_comment($thread);
156 $task->thread->set_participant_flags($task->assignee, array('subscribent', 'task_assignee'));
157 $task->thread
[all...]
H A DThread_comment.php17 protected $thread; variable in dokuwiki\\plugin\\bez\\mdl\\Thread_comment
26 if ($property == 'thread') {
30 if ($this->thread == null) {
31 $this->thread = $this->model->threadFactory->get_one($this->thread_id);
33 return $this->thread;
60 if (!isset($defaults['thread'])) {
61 throw new \Exception('$defaults[thread] not set');
63 $this->thread = $defaults['thread'];
64 $this->thread_id = $this->thread
[all...]
H A DTask_commentFactory.php20 if ($task_comment->task->thread_id != '' && $task_comment->task->type != 'preventive' && $task_comment->task->thread->state == 'closed') {
52 $task_comment->task->thread->update_last_activity();
61 $task_comment->task->thread->mail_notify_task_state_changed($task_comment->task);
73 if ($task_comment->task->thread_id != '' && $task_comment->task->type != 'preventive' && $task_comment->task->thread->state == 'closed') {
91 if ($obj->task->thread_id != '' && $obj->task->type != 'preventive' && $obj->task->thread->state == 'closed') {
H A DTask.php31 protected $thread;
63 if ($property == 'thread') {
67 if ($this->thread == null || $this->thread_id != $this->thread->id) {
68 $this->thread = $this->model->threadFactory->get_one($this->thread_id);
70 return $this->thread;
112 if (isset($defaults['thread'])) {
113 $this->thread = $defaults['thread'];
114 $this->thread_id = $this->thread
30 protected $thread; global() variable in dokuwiki\\plugin\\bez\\mdl\\Task
[all...]
/plugin/bez/ctl/
H A Dstart.php54 foreach ($threads as $thread) {
55 if ($thread->acl_of('id') < BEZ_PERMISSION_VIEW) continue;
58 if ($thread->type == 'project') {
62 if ($thread->state == 'proposal') {
63 $timeline->push($thread->create_date, 'thread_proposal' . $project, $thread->original_poster, $thread);
65 $timeline->push($thread->create_date, 'thread_opened' . $project, $thread->coordinator, $thread);
[all...]
H A Dthread.php14 /** @var bez\mdl\Thread $thread */
15 $thread = $this->model->threadFactory->get_one($this->get_param('id')); variable
17 if ($thread->acl_of('id') < BEZ_PERMISSION_VIEW) {
21 $this->tpl->set('thread', $thread);
22 if ($thread->type == 'project') {
26 $thread_comments = iterator_to_array($this->model->thread_commentFactory->get_from_thread($thread));
27 $tasks = $this->model->taskFactory->get_from_thread($thread);
42 $thread_comment = $this->model->thread_commentFactory->create_object(array('thread' => $thread));
[all...]
H A Dthread_report.php12 /** @var \dokuwiki\plugin\bez\mdl\Thread $thread */
13 $thread = $this->model->threadFactory->get_one($thread_id); variable
15 $thread = $this->model->threadFactory->create_object(); variable
18 $this->tpl->set('thread', $thread);
24 $this->tpl->set_values($thread->get_assoc());
27 $this->model->threadFactory->update_save($thread, $_POST);
29 header('Location: ?id='.$this->id('thread', 'id', $thread->id));
37 // $thread
[all...]
H A D8d.php17 /** @var bez\mdl\Thread $thread */
18 $thread = $this->model->threadFactory->get_one($this->get_param('id')); variable
19 $this->tpl->set('thread', $thread);
22 get_from_thread($thread, array('type' => 'cause'))->fetchAll());
25 get_from_thread($thread, array('type' => 'risk'))->fetchAll());
28 get_from_thread($thread, array('type' => 'opportunity'))->fetchAll());
29 $tasks = $this->model->taskFactory->get_by_type($thread);
H A Dkp.php17 /** @var bez\mdl\Thread $thread */
18 $thread = $this->model->threadFactory->get_one($this->get_param('id')); variable
19 $this->tpl->set('thread', $thread);
21 $tasks = $this->model->taskFactory->get_with_closing_comment($thread)->fetchAll();
/plugin/discussion/
H A Dadmin.php66 foreach ($threads as $thread) {
68 $this->_threadHead($thread);
143 * @param array $thread
146 function _threadHead($thread) { argument
147 $id = $thread['id'];
180 * @param array $thread
183 function _getComments(&$thread) { argument
184 $id = $thread['id'];
186 if (!$thread['file']) {
193 $thread['status'] = $data['status'];
[all …]
/plugin/bez/action/
H A Ddefault.php328 $threads = $this->get_model()->factory('thread')->get_all(array(
334 /** @var bez\mdl\Thread $thread */
335 foreach ($threads as $thread) {
336 $link = '<a href="' . $this->url('thread', 'id', $thread->id) . '">';
337 $link .= '#' . $thread->id;
343 'id' => 'thread:' . $thread->id,
346 'timestamp' => strtotime($thread->last_activity_date)
352 $threads = $this->get_model()->factory('thread')
[all...]
/plugin/bez/cron/
H A Dfunctions.php14 foreach ($threads as $thread) {
16 $day_of_issue_last_activity = date('d', strtotime($thread->last_activity_date));
19 $thread->mail_notify_inactive($thread->get_participants('subscribent'));
64 foreach ($threads as $thread) {
65 $key = $thread->coordinator;
73 $msg[$key]['issues'][] = $thread;
/plugin/bez/
H A Dcli.php23 foreach ($threads as $thread) {
24 $thread->purge();
25 $action->get_model()->threadFactory->save($thread);
26 echo "Thread #" . $thread->id . " purged\n";
/plugin/authgooglesheets/vendor/google/apiclient-services/src/HangoutsChat/
H A DMessage.php265 public function setThread(Thread $thread) argument
267 $this->thread = $thread;
274 return $this->thread;

1234