OpenCart 🇺🇦

Схема

public mixed viewSubscription ( )

Аргументы

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

Описание

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

Исходный код

$this->data = array_merge($this->data, $this->load->language('openbay/ebay_subscription'));

$this->document->setTitle($this->language->get('lang_page_title'));
$this->document->addStyle('view/stylesheet/openbay.css');
$this->document->addScript('view/javascript/openbay/faq.js');

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

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

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

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

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

$this->data['return']       = $this->url->link('openbay/openbay', 'token=' . $this->session->data['token'], 'SSL');
$this->data['validation']   = $this->openbay->ebay->validate();
$this->data['token']        = $this->session->data['token'];
$this->data['obp_token']    = $this->config->get('openbaypro_token');

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

$this->response->setOutput($this->render(true), $this->config->get('config_compression'));