Home
last modified time | relevance | path

Searched refs:state (Results 476 – 500 of 2205) sorted by path

1...<<11121314151617181920>>...89

/plugin/bez/ctl/
H A Dstart.php62 if ($thread->state == 'proposal') {
68 if ($thread->state == 'done') {
70 } elseif ($thread->state == 'closed') {
72 } elseif ($thread->state == 'rejected') {
92 if ($task->state == 'done') {
106 $filter = array('state' => 'proposal');
112 $filter = array('state' => 'opened', 'coordinator' => $this->model->user_nick);
118 $filter = array('state' => 'opened', 'assignee' => $this->model->user_nick);
124 $filter = array('state' => 'opened', 'original_poster' => $this->model->user_nick);
130 $filter = array('state'
[all...]
/plugin/bez/db/
H A Dupdate0001.sql13 state TEXT NOT NULL DEFAULT 'proposal', -- proposal,opened,done,closed,rejected field
146 state TEXT NOT NULL DEFAULT 'opened', -- opened, done field
227 UPDATE OF thread_id, state
229 WHEN old.state = 'opened' AND new.state = 'done'
237 UPDATE OF thread_id, state
239 WHEN old.state = 'done' AND new.state = 'opened'
247 UPDATE OF thread_id, state
249 WHEN old.state
[all...]
H A Dupdate0002.sql4 UPDATE thread SET state='opened' WHERE state='done';
12 CASE WHEN task.state = 'done' THEN NULL
30 CASE WHEN thread.state = 'proposal' THEN 0
31 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1
32 WHEN thread.state = 'opened' THEN 2
33 WHEN thread.state = 'closed' THEN 3
34 WHEN thread.state = 'rejected' THEN 4 END AS sort,
35 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done'
36 ELSE thread.state EN
[all...]
H A Dupdate0003.sql17 WHEN old.state = 'done'
H A Dupdate0005.sql1 UPDATE thread SET state='opened' WHERE state='done'
H A Dupdate0011.sql13 CASE WHEN thread.state = 'proposal' THEN 0
14 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1
15 WHEN thread.state = 'opened' THEN 2
16 WHEN thread.state = 'closed' THEN 3
17 WHEN thread.state = 'rejected' THEN 4 END AS sort,
18 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done'
19 ELSE thread.state END AS state,
H A Dupdate0013.sql15 CASE WHEN thread.state = 'proposal' THEN 0
16 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1
17 WHEN thread.state = 'opened' THEN 2
18 WHEN thread.state = 'closed' THEN 3
19 WHEN thread.state = 'rejected' THEN 4 END AS sort,
20 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done'
21 ELSE thread.state END AS state,
H A Dupdate0014.sql13 CASE WHEN thread.state = 'proposal' THEN 0
14 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1
15 WHEN thread.state = 'opened' THEN 2
16 WHEN thread.state = 'closed' THEN 3
17 WHEN thread.state = 'rejected' THEN 4 END AS sort,
18 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done'
19 ELSE thread.state END AS state,
/plugin/bez/mdl/
H A DTask.php20 protected $state, $type;
43 'state', 'type',
110 $this->state = 'opened';
204 $this->acl->grant('state', BEZ_PERMISSION_CHANGE);
229 $this->acl->grant('state', BEZ_PERMISSION_CHANGE);
235 if ($this->state == 'done') {
281 public function set_state($state) {
282 if ($this->acl_of('state') < BEZ_PERMISSION_CHANGE) {
286 if (!in_array($state, array('opened', 'done'))) {
291 if ($state
280 set_state($state) global() argument
[all...]
H A DTask_commentFactory.php20 if ($task_comment->task->thread_id != '' && $task_comment->task->type != 'preventive' && $task_comment->task->thread->state == 'closed') {
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 DThread.php18 protected $type, $state;
32 'type', 'state',
80 $this->state = 'proposal';
89 $this->state = 'opened';
105 if ($this->state == 'proposal' && $this->original_poster == $this->model->user_nick) {
118 $this->acl->grant('state', BEZ_PERMISSION_CHANGE);
127 if (isset($data['coordinator']) && $this->state == 'proposal') {
128 $this->state = 'opened';
139 public function set_state($state) {
140 if ($this->acl_of('state') < BEZ_PERMISSION_CHANG
17 protected $type, $state; global() variable in dokuwiki\\plugin\\bez\\mdl\\Thread
138 set_state($state) global() argument
[all...]
H A DThreadFactory.php112 COUNT(CASE WHEN state = 'proposal' THEN 1 END) AS proposal,
113 COUNT(CASE WHEN state = 'opened' THEN 1 END) AS opened,
114 COUNT(CASE WHEN state = 'done' THEN 1 END) AS done,
115 COUNT(CASE WHEN state = 'closed' THEN 1 END) AS closed,
116 COUNT(CASE WHEN state = 'rejected' THEN 1 END) AS rejected,
119 SUM(CASE WHEN state = 'closed' THEN task_sum_cost END) AS sum_closed,
120 (CASE WHEN state = 'closed' THEN
131 COUNT(CASE WHEN state = 'proposal' THEN 1 END) AS proposal,
132 COUNT(CASE WHEN state = 'opened' THEN 1 END) AS opened,
133 COUNT(CASE WHEN state
[all...]
/plugin/bez/struct/
H A DBezType.php137 $fields[] = 'state';
148 $state = $bez_db_helper->getLang('state_' . $row['state']);
149 $name .= ' (' . $state . ')';
/plugin/bez/syntax/
H A Dnav.php19 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
H A Dqlink.php20 function handle($match, $state, $pos, Doku_Handler $handler) { argument
H A Dquery.php27 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
28 switch ($state) {
30 return array($state, $match);
32 case DOKU_LEXER_UNMATCHED : return array($state, $match);
33 case DOKU_LEXER_EXIT : return array($state, '');
42 list($state,$match) = $data;
43 switch ($state) {
H A Dstruct.php49 * @param int $state The state of the handler
54 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
/plugin/bez/tpl/
H A D8d.php7 return $task->state == 'done';
11 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected') $D++ ?>
80 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected'): ?>
105 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected'): ?>
H A D8d_tasks.php4 <th><?php echo $tpl->getLang('state') ?></th>
18 <td><?php echo lcfirst($tpl->getLang('task_' . $task->state)) ?></td>
36 <?php if ($task->state == 'opened'): ?>
H A D8d_tasks_no_closing.php4 <th><?php echo $tpl->getLang('state') ?></th>
17 <td><?php echo lcfirst($tpl->getLang('task_' . $task->state)) ?></td>
H A Dkp.php51 <?php if ($tpl->get('thread')->state == 'closed'): ?>
61 <strong><?php echo $tpl->getLang('state') ?>:</strong>
62 <?php echo $tpl->getLang('state_' . $tpl->get('thread')->state) ?>
H A Dtask.php5 if ($tpl->get('task')->thread->state == 'opened') {
23 (<?php echo $tpl->getLang('state_' . $tpl->get('task')->thread->state) ?>):
65 <?php if ($tpl->get('task')->state == 'done'): ?>
H A Dtask_box.php6 if($tpl->get('task')->state == 'opened') {
17 <?php if ($tpl->get('task')->state != 'opened'): ?>
20 <strong><?php echo $tpl->getLang('task_' . $tpl->get('task')->state) ?>:</strong>
38 (<?php echo lcfirst($tpl->getLang('task_' . $tpl->get('task')->state)) ?>)
127 <?php if ($tpl->get('task')->acl_of('state') >= BEZ_PERMISSION_CHANGE): ?>
131 <?php if ($tpl->get('task')->state == 'opened'): ?>
H A Dtask_comment_box.php33 $tpl->get('task')->state == 'opened' &&
H A Dtask_comment_form.php35 <?php if ($tpl->get('task')->state == 'opened'): ?>
40 <?php if ($tpl->param('zkid') == '' && $tpl->get('task')->acl_of('state') >= BEZ_PERMISSION_CHANGE): ?>
41 <?php if ($tpl->get('task')->state == 'opened'): ?>

1...<<11121314151617181920>>...89