Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
38 | public function onConstruct() |
||
39 | { |
||
40 | $this->model = new CustomFields(); |
||
41 | $this->model->users_id = $this->userData->getId(); |
||
42 | $this->model->companies_id = $this->userData->currentCompanyId(); |
||
43 | $this->model->apps_id = $this->app->getId(); |
||
44 | |||
45 | $this->additionalSearchFields = [ |
||
46 | ['apps_id', ':', $this->app->getId()], |
||
47 | ['companies_id', ':', $this->userData->currentCompanyId()], |
||
48 | ]; |
||
51 |