OpenCart 🇺🇦

Схема

public mixed index ( )

Аргументы

Аргумент Возможный тип Описание
У метода нет аргументов

Описание

Метод пока еще не документирован.

Исходный код

$this->language->load('sale/contact');

$this->document->setTitle($this->language->get('heading_title'));

$this->data['heading_title'] = $this->language->get('heading_title');

$this->data['text_default'] = $this->language->get('text_default');
$this->data['text_newsletter'] = $this->language->get('text_newsletter');
$this->data['text_customer_all'] = $this->language->get('text_customer_all');	
$this->data['text_customer'] = $this->language->get('text_customer');	
$this->data['text_customer_group'] = $this->language->get('text_customer_group');
$this->data['text_affiliate_all'] = $this->language->get('text_affiliate_all');	
$this->data['text_affiliate'] = $this->language->get('text_affiliate');	
$this->data['text_product'] = $this->language->get('text_product');	

$this->data['entry_store'] = $this->language->get('entry_store');
$this->data['entry_to'] = $this->language->get('entry_to');
$this->data['entry_customer_group'] = $this->language->get('entry_customer_group');
$this->data['entry_customer'] = $this->language->get('entry_customer');
$this->data['entry_affiliate'] = $this->language->get('entry_affiliate');
$this->data['entry_product'] = $this->language->get('entry_product');
$this->data['entry_subject'] = $this->language->get('entry_subject');
$this->data['entry_message'] = $this->language->get('entry_message');

$this->data['button_send'] = $this->language->get('button_send');
$this->data['button_cancel'] = $this->language->get('button_cancel');

$this->data['token'] = $this->session->data['token'];

$this->data['breadcrumbs'] = array();

$this->data['breadcrumbs'][] = array(
	'text'      => $this->language->get('text_home'),
	'href'      => $this->url->link('common/home', 'token=' . $this->session->data['token'], 'SSL'),
	'separator' => false
);

$this->data['breadcrumbs'][] = array(
	'text'      => $this->language->get('heading_title'),
	'href'      => $this->url->link('sale/contact', 'token=' . $this->session->data['token'], 'SSL'),
	'separator' => ' :: '
);

$this->data['cancel'] = $this->url->link('sale/contact', 'token=' . $this->session->data['token'], 'SSL');

$this->load->model('setting/store');

$this->data['stores'] = $this->model_setting_store->getStores();

$this->load->model('sale/customer_group');

$this->data['customer_groups'] = $this->model_sale_customer_group->getCustomerGroups(0);

$this->template = 'sale/contact.tpl';
$this->children = array(
	'common/header',
	'common/footer'
);

$this->response->setOutput($this->render());