1: | <?php
2: | namespace Opencart\Catalog\Controller\Common;
3: | /**
4: | * Class Home
5: | *
6: | * @package Opencart\Catalog\Controller\Common
7: | */
8: | class Home extends \Opencart\System\Engine\Controller {
9: | /**
10: | * @return void
11: | */
12: | public function index(): void {
13: | $this->document->setTitle($this->config->get('config_meta_title'));
14: | $this->document->setDescription($this->config->get('config_meta_description'));
15: | $this->document->setKeywords($this->config->get('config_meta_keyword'));
16: |
17: | $data['column_left'] = $this->load->controller('common/column_left');
18: | $data['column_right'] = $this->load->controller('common/column_right');
19: | $data['content_top'] = $this->load->controller('common/content_top');
20: | $data['content_bottom'] = $this->load->controller('common/content_bottom');
21: | $data['footer'] = $this->load->controller('common/footer');
22: | $data['header'] = $this->load->controller('common/header');
23: |
24: | $this->response->setOutput($this->load->view('common/home', $data));
25: | }
26: | }
27: |

OpenCart API API documentation generated by ApiGen dev-master