Exemple #1
0
 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();
 }
Exemple #2
0
 public function issue()
 {
     // Load the statuses map into the response.
     $this->addData('orders', array('statuses' => OrderModel::getStatusLabels()));
     parent::issue();
 }