Beispiel #1
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['page'] = $this->page;
     if ('module' == \XLite\Core\Request::getInstance()->target) {
         $list['moduleId'] = \XLite\Core\Request::getInstance()->moduleId;
     }
     if (\XLite\Core\Request::getInstance()->return) {
         $list['return'] = \XLite\Core\Request::getInstance()->return;
     }
     return $list;
 }
Beispiel #2
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     return parent::getCommonFormParams() + array('widget' => '\\XLite\\View\\ShippingEstimate');
 }
Beispiel #3
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['page'] = $this->page;
     return $list;
 }
Beispiel #4
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['page'] = \XLite\Core\Request::getInstance()->page;
     return $list;
 }
Beispiel #5
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['order_id'] = $this->getOrder()->getOrderId();
     return $list;
 }