Пример #1
0
 /**
  * Page のアクション.
  *
  * @return void
  */
 public function action()
 {
     $arrParam = $_REQUEST;
     list($response_outer, $arrResponse) = Operation::doApiAction($arrParam);
     Operation::sendApiResponse('xml', $response_outer, $arrResponse);
     Application::alias('eccube.response')->actionExit();
 }
Пример #2
0
 /**
  * Page のアクション.
  *
  * @return void
  */
 public function action()
 {
     $arrParam = $_REQUEST;
     list($response_outer, $arrResponse) = Operation::doApiAction($arrParam);
     if (isset($arrParam["callback"])) {
         $arrResponse["callback"] = $arrParam["callback"];
     }
     Operation::sendApiResponse('json', $response_outer, $arrResponse);
     Application::alias('eccube.response')->actionExit();
 }