Total Complexity | 5 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ProfileController extends BaseController |
||
12 | { |
||
13 | /** |
||
14 | * Initialize. |
||
15 | * Set validateComponent and additionFields. |
||
16 | */ |
||
17 | public function init() |
||
18 | { |
||
19 | $this->viewPath = '@rbac/views/profiles'; |
||
20 | |||
21 | $this->validateComponent = $this->module->get('profile-validate-component'); |
||
22 | |||
23 | parent::init(); |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Returns addition fields. |
||
28 | * |
||
29 | * @return array |
||
30 | */ |
||
31 | protected function getAdditionFields(): array |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Returns identityClass model name. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | protected function getModelName(): string |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * Returns identityClass Search model name. |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | protected function getSearchModelName(): string |
||
62 |