src/controllers/AnswerController.php 1 location
|
@@ 44-51 (lines=8) @@
|
41 |
|
/** |
42 |
|
* @return array |
43 |
|
*/ |
44 |
|
protected function prepareRefs() |
45 |
|
{ |
46 |
|
return [ |
47 |
|
'topic_data' => $this->getRefs('topic,ticket', 'hipanel:ticket'), |
48 |
|
'state_data' => $this->getClassRefs('state', 'hipanel:ticket'), |
49 |
|
'priority_data' => $this->getPriorities(), |
50 |
|
]; |
51 |
|
} |
52 |
|
} |
53 |
|
|
src/controllers/TicketController.php 1 location
|
@@ 244-251 (lines=8) @@
|
241 |
|
/** |
242 |
|
* @return array |
243 |
|
*/ |
244 |
|
protected function prepareRefs() |
245 |
|
{ |
246 |
|
return [ |
247 |
|
'topic_data' => $this->getRefs('topic,ticket', 'hipanel:ticket'), |
248 |
|
'state_data' => $this->getClassRefs('state', 'hipanel:ticket'), |
249 |
|
'priority_data' => $this->getPriorities(), |
250 |
|
]; |
251 |
|
} |
252 |
|
|
253 |
|
/** |
254 |
|
* @return string |
src/controllers/StatisticController.php 1 location
|
@@ 36-43 (lines=8) @@
|
33 |
|
/** |
34 |
|
* @return array |
35 |
|
*/ |
36 |
|
protected function prepareRefs() |
37 |
|
{ |
38 |
|
return [ |
39 |
|
'topic_data' => $this->getRefs('topic,ticket', 'hipanel:ticket'), |
40 |
|
'state_data' => $this->getClassRefs('state', 'hipanel:ticket'), |
41 |
|
'priority_data' => $this->getRefs('type,priority', 'hipanel:ticket'), |
42 |
|
]; |
43 |
|
} |
44 |
|
|
45 |
|
public function actions() |
46 |
|
{ |