/** * 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(); }
/** * 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(); }