Example #1
0
 /**
  * Return array of selected product ids from post or session
  *
  * @return array|null
  */
 public function getProductIds()
 {
     if ($this->_getRequest()->isPost() && $this->_getRequest()->getActionName() == 'edit') {
         $this->_session->setProductIds($this->_getRequest()->getParam('product', null));
     }
     return $this->_session->getProductIds();
 }
Example #2
0
 /**
  * Return array of selected product ids from post or session
  *
  * @return array|null
  */
 public function getProductIds()
 {
     return $this->_session->getProductIds();
 }