public function issue() { $type = $this->getRequest()->getParameter('grup'); // Get the relevant data. $products = new \Nohex\Eix\Modules\Catalog\Data\Products(); $productList = $products->get($type); // Set the response. $this->setTemplateId('products/index'); $this->addData('product', array('type' => $productType)); parent::issue(); }
public function issue() { // Load the statuses map into the response. $this->addData('orders', array('statuses' => OrderModel::getStatusLabels())); parent::issue(); }