| @@ 81-91 (lines=11) @@ | ||
| 78 | * @param string $php_ext |
|
| 79 | * @param string $root_path |
|
| 80 | */ |
|
| 81 | public function __construct(session_helper_interface $session_helper, user $user, request_interface $request, driver_interface $db, template $template, config $config, $php_ext, $root_path) |
|
| 82 | { |
|
| 83 | $this->session_helper = $session_helper; |
|
| 84 | $this->user = $user; |
|
| 85 | $this->request = $request; |
|
| 86 | $this->config = $config; |
|
| 87 | $this->db = $db; |
|
| 88 | $this->template = $template; |
|
| 89 | $this->php_ext = $php_ext; |
|
| 90 | $this->root_path = $root_path; |
|
| 91 | } |
|
| 92 | ||
| 93 | /** |
|
| 94 | * Assign functions defined in this class to event listeners in the core |
|
| @@ 89-101 (lines=13) @@ | ||
| 86 | * @param string $registration_table |
|
| 87 | * @param string $user_table |
|
| 88 | */ |
|
| 89 | public function __construct(driver_interface $db, config $config, user $user, service_collection $modules, template $template, helper $controller_helper, $registration_table, $user_table) |
|
| 90 | { |
|
| 91 | $this->db = $db; |
|
| 92 | $this->user = $user; |
|
| 93 | $this->config = $config; |
|
| 94 | $this->template = $template; |
|
| 95 | $this->controller_helper = $controller_helper; |
|
| 96 | $this->registration_table = $registration_table; |
|
| 97 | $this->user_table = $user_table; |
|
| 98 | $this->module_data = $modules; |
|
| 99 | } |
|
| 100 | ||
| 101 | /** |
|
| 102 | * Register the tagged modules if they are enabled. |
|
| 103 | */ |
|
| 104 | private function validate_modules() |
|
| @@ 80-90 (lines=11) @@ | ||
| 77 | * @param string $root_path |
|
| 78 | * @param string $php_ext |
|
| 79 | */ |
|
| 80 | public function __construct(driver_interface $db, template $template, user $user, request_interface $request, log $log, session_helper_interface $session_helper, $root_path, $php_ext) |
|
| 81 | { |
|
| 82 | $this->template = $template; |
|
| 83 | $this->db = $db; |
|
| 84 | $this->user = $user; |
|
| 85 | $this->request = $request; |
|
| 86 | $this->session_helper = $session_helper; |
|
| 87 | $this->root_path = $root_path; |
|
| 88 | $this->php_ext = $php_ext; |
|
| 89 | $this->log = $log; |
|
| 90 | } |
|
| 91 | ||
| 92 | /** |
|
| 93 | * @param int $user_id |
|