« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for ApiResponse (0.001 sec.)
Set the response object 9357
« Yaf_Dispatcher::setRequest Yaf_Dispatcher::setView » PHP Manual Yaf_Dispatcher Set the response object 検索 Yaf_Dispatcher::setResponse (Yaf >=3.2.2) Yaf_Dispatcher::setResponse — Set the response object 説明 public function Yaf_Dispatche ... itself on success, or null if the application is not initialized. 例 例1 Yaf_Dispatcher::setResponse() example <?php class ApiResponse extends Yaf_Response_Http { public function response () { header ( "Content-Type: application/json" ); parent :: response ... ew Yaf_Application ( dirname ( __FILE__ ) . "/conf/application.ini" ); Yaf_Dispatcher :: getInstance ()-> setResponse (new ApiResponse ()); $app -> run (); ?> 参考 Yaf_Dispatcher::getResponse() - Get the response object Yaf_Dispatcher::setRequest() - The se ... t purpose 関連キーワード: Yaf Dispatcher response object setResponse Set setRequest Response application function Abstract ApiResponse app new Search setView used dispatcher allows using ...
https://man.mtool.work/php/8.3/yaf-dispatcher.setresponse.html
Set the response object 9357
« Yaf_Dispatcher::setRequest Yaf_Dispatcher::setView » PHP Manual Yaf_Dispatcher Set the response object 検索 Yaf_Dispatcher::setResponse (Yaf >=3.2.2) Yaf_Dispatcher::setResponse — Set the response object 説明 public function Yaf_Dispatche ... itself on success, or null if the application is not initialized. 例 例1 Yaf_Dispatcher::setResponse() example <?php class ApiResponse extends Yaf_Response_Http { public function response () { header ( "Content-Type: application/json" ); parent :: response ... ew Yaf_Application ( dirname ( __FILE__ ) . "/conf/application.ini" ); Yaf_Dispatcher :: getInstance ()-> setResponse (new ApiResponse ()); $app -> run (); ?> 参考 Yaf_Dispatcher::getResponse() - Get the response object Yaf_Dispatcher::setRequest() - The se ... tRequest purpose 関連キーワード: Dispatcher response setResponse setRequest Response application Abstract ApiResponse setView used dispatcher allows using custom implementation instead built-in ones instance itself success initialized examp ...
https://man.mtool.work/php/8.3/yaf-dispatcher.setresponse.html
PREV 1 NEXT