Example #1
0
 /**
  * Return list of the form default parameters
  *
  * @return array
  */
 protected function getDefaultParams()
 {
     $params = parent::getDefaultParams();
     $params['id'] = $this->getProductsReturn()->getId();
     // get return ID from controller
     return $params;
 }
Example #2
0
 /**
  * Return default params
  *
  * @return array
  */
 protected function getDefaultParams()
 {
     return parent::getDefaultParams() + array('mode' => 'search');
 }