예제 #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;
 }
예제 #2
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     return parent::getCommonFormParams() + array('widget' => '\\XLite\\View\\ShippingEstimate');
 }
예제 #3
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['page'] = $this->page;
     return $list;
 }
예제 #4
0
파일: EditTax.php 프로젝트: kingsj/core
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['page'] = \XLite\Core\Request::getInstance()->page;
     return $list;
 }
예제 #5
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['order_id'] = $this->getOrder()->getOrderId();
     return $list;
 }