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