/** * Page のアクション. * * @return void */ function action() { $arrParam = $_REQUEST; list($response_outer, $arrResponse) = SC_Api_Operation::doApiAction($arrParam); SC_Api_Operation_Ex::sendApiResponse('xml', $response_outer, $arrResponse); SC_Response_Ex::actionExit(); }
/** * Page のアクション. * * @return void */ public function action() { $arrParam = $_REQUEST; list($response_outer, $arrResponse) = SC_Api_Operation::doApiAction($arrParam); if (isset($arrParam["callback"])) { $arrResponse["callback"] = $arrParam["callback"]; } SC_Api_Operation_Ex::sendApiResponse('json', $response_outer, $arrResponse); SC_Response_Ex::actionExit(); }