Ekdant-Online-Store/catalog/controller/common/home.php
2024-08-06 18:06:00 +05:45

26 lines
964 B
PHP

<?php
namespace Opencart\Catalog\Controller\Common;
/**
* Class Home
*
* @package Opencart\Catalog\Controller\Common
*/
class Home extends \Opencart\System\Engine\Controller {
/**
* @return void
*/
public function index(): void {
$this->document->setTitle($this->config->get('config_meta_title'));
$this->document->setDescription($this->config->get('config_meta_description'));
$this->document->setKeywords($this->config->get('config_meta_keyword'));
$data['column_left'] = $this->load->controller('common/column_left');
$data['column_right'] = $this->load->controller('common/column_right');
$data['content_top'] = $this->load->controller('common/content_top');
$data['content_bottom'] = $this->load->controller('common/content_bottom');
$data['footer'] = $this->load->controller('common/footer');
$data['header'] = $this->load->controller('common/header');
$this->response->setOutput($this->load->view('common/home', $data));
}
}