public function getBrandsToSelect() { $brands = $this->brandManager->getAll(); $result = []; foreach ($brands as $brand) { $result[$brand['id']] = $brand['title']; } return $result; }
public function renderDefault() { $this->template->brands = $this->brandManager->getAll(); }