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