OpenCart 🇺🇦

Схема

public mixed listAll ( )

Аргументы

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

Описание

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

Исходный код

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

$this->load->model('openbay/ebay_template');

$this->document->setTitle($this->data['lang_title_list']);
$this->document->addStyle('view/stylesheet/openbay.css');
$this->document->addScript('view/javascript/openbay/faq.js');

$this->template = 'openbay/ebay_template_list.tpl';

$this->children = array(
	'common/header',
	'common/footer'
);

if (isset($this->session->data['error'])) {
	$this->data['error_warning'] = $this->session->data['error'];
	unset($this->session->data['error']);
}

if (isset($this->session->data['success'])) {
	$this->data['success'] = $this->session->data['success'];
	unset($this->session->data['success']);
}

$this->data['btn_add']  = $this->url->link('openbay/ebay_template/add', 'token=' . $this->session->data['token'], 'SSL');
$this->data['templates'] = $this->model_openbay_ebay_template->getAll();
$this->data['token']    = $this->session->data['token'];

$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/ebay_template/listAll', 'token=' . $this->session->data['token'], 'SSL'),
	'text' => $this->language->get('lang_heading'),
	'separator' => ' :: '
);

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