public function indexAction() { $this->_template = 'Text'; Config::set('content_class', 'brands-list'); // Seo $this->_seo['h1'] = 'Бренды'; $this->_seo['title'] = 'Бренды'; $this->_seo['keywords'] = 'Бренды'; $this->_seo['description'] = 'Бренды'; // Get brands list $result = DB::select()->from('brands')->where('status', '=', 1)->order_by('name', 'ASC')->as_object()->execute(); // Get alphabet $alphabet = Text::get_alphabet($result); $this->_content = View::tpl(array('alphabet' => $alphabet), 'Brands/List'); }