1: | <?php
2: | namespace Opencart\Admin\Controller\Common;
3: | /**
4: | * Class Footer
5: | *
6: | * @package Opencart\Admin\Controller\Common
7: | */
8: | class Footer extends \Opencart\System\Engine\Controller {
9: | /**
10: | * Index
11: | *
12: | * @return string
13: | */
14: | public function index(): string {
15: | $this->load->language('common/footer');
16: |
17: | if ($this->user->isLogged() && isset($this->request->get['user_token']) && ($this->request->get['user_token'] == $this->session->data['user_token'])) {
18: | $data['text_version'] = sprintf($this->language->get('text_version'), VERSION);
19: | } else {
20: | $data['text_version'] = '';
21: | }
22: |
23: | $data['bootstrap'] = 'view/javascript/bootstrap/js/bootstrap.bundle.min.js';
24: |
25: | return $this->load->view('common/footer', $data);
26: | }
27: | }
28: |

OpenCart API API documentation generated by ApiGen dev-master