File: /home/temp/yarusvl.ru/view/SuppliersView.php
<?php
require_once('View.php');
class SuppliersView extends View {
/*Отображение страницы всех брендов*/
public function fetch() {
/*Выбираем все бренды*/
$suppliers = $this->suppliers->get_suppliers(array('visible_supplier'=>1));
$this->design->assign('suppliers', $suppliers);
if($this->page) {
$this->design->assign('meta_title', $this->page->meta_title);
$this->design->assign('meta_keywords', $this->page->meta_keywords);
$this->design->assign('meta_description', $this->page->meta_description);
}
return $this->design->fetch('suppliers.tpl');
}
}