Пример #1
0
 /**
  * Required form parameters
  *
  * @return array
  */
 protected function getCommonFormParams()
 {
     $list = parent::getCommonFormParams();
     $list['sessionCell'] = 'XLiteViewItemsListModuleInstall';
     return $list;
 }
Пример #2
0
 /**
  * Check and (if needed) set the return URL parameter
  *
  * @param array &$params Form params
  *
  * @return void
  */
 protected function setReturnURLParam(array &$params)
 {
     parent::setReturnURLParam($params);
     $params[\XLite\Controller\AController::RETURN_URL] = \XLite\Core\Request::getInstance()->returnUrl;
 }