« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 30 for getResponse (0.002 sec.)
Yaf_Dispatcher::getResponse — Get the response object | PHP 8.3 13516
Yaf_Dispatcher::getResponse (Yaf >=1.0.0) Yaf_Dispatcher::getResponse — Get the response object 説明 public function Yaf_Dispatcher::getResponse (): ? Yaf_Response_Abstract Retrieve the Yaf_Response_Abstract instance used by the dispatcher. ... りません。 戻り値 The Yaf_Response_Abstract instance, or null if the application is not initialized. 例 例1 Yaf_Dispatcher::getResponse() example <?php class CharsetPlugin extends Yaf_Plugin_Abstract { public function preDispatch ( Yaf_Request_Abstract $requ ... sponse_Abstract $response ) { // Same response object as the one held by the dispatcher Yaf_Dispatcher :: getInstance ()-> getResponse ()-> setHeader ( "Content-Type" , "text/html; charset=utf-8" ); } } ?> 参考 Yaf_Dispatcher::setResponse() - Set the respon ...
https://man.mtool.work/php/8.3/yaf-dispatcher.getresponse.html
SolrPingResponse::getResponse — サーバーからのレスポンスを返す | PHP 8.3 11063
SolrPingResponse::getResponse (PECL solr >= 0.9.2) SolrPingResponse::getResponse — サーバーからのレスポンスを返す 説明 public function SolrPingResponse::getResponse (): string サーバーからのレスポンスを返します。 HEAD リクエストとしてのリク ...
https://man.mtool.work/php/8.3/solrpingresponse.getresponse.html
SolrResponse::getResponse — サーバーからの XML レスポンスを表現する SolrObject ... 11063
SolrResponse::getResponse (PECL solr >= 0.9.2) SolrResponse::getResponse — サーバーからの XML レスポンスを表現する SolrObject を返す 説明 public function SolrResponse::getResponse (): SolrObject サーバーからの XML レスポンスを表現する SolrO ...
https://man.mtool.work/php/8.3/solrresponse.getresponse.html
Yaf_Controller_Abstract::getResponse — 現在のレスポンスオブジェクトを取得する |... 11063
Yaf_Controller_Abstract::getResponse (Yaf >=1.0.0) Yaf_Controller_Abstract::getResponse — 現在のレスポンスオブジェクトを取得する 説明 public function Yaf_Controller_Abstract::getResponse (): Yaf_Response_Abstract 現在のレスポンスオブジェクト ...
https://man.mtool.work/php/8.3/yaf-controller-abstract.getresponse.html
例 | PHP 8.3 10722
例 PHP で Apache Solr 拡張モジュールを使用する方法の例 例1 ブートストラップ・ファイルの内容 <?php /* Solr サーバーのドメイン名 */ define ( 'SOLR_SERVER_HOSTNAME' , 'solr.example.com' ); /* セキュアなモードで動作するかどうか */ define ( 'SOL ... ); $doc -> addField ( 'cat' , 'Lucene' ); $updateResponse = $client -> addDocument ( $doc ); print_r ( $updateResponse -> getResponse ()); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [responseHeader] => SolrObject Object ( [statu ... ddField ( 'id' )-> addField ( 'timestamp' ); $query_response = $client -> query ( $query ); $response = $query_response -> getResponse (); print_r ( $response ); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [responseHeader] => Solr ... query ( $query ); $query_response -> setParseMode ( SolrQueryResponse :: PARSE_SOLR_DOC ); $response = $query_response -> getResponse (); print_r ( $response ); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [responseHeader] => Solr ...
https://man.mtool.work/php/8.3/solr.examples.html
SolrPingResponse クラス | PHP 8.3 9276
SolrPingResponse クラス (PECL solr >= 0.9.2) はじめに サーバーへの ping リクエストに対するレスポンスを表現 クラス概要 final class SolrPingResponse extends SolrResponse { /* 定数 */ const int PARSE_SOLR_OBJ = 0 ; const int PARSE_SOLR_DOC = 1 ... ; /* プロパティ */ /* メソッド */ public function __construct () public function getResponse (): string public function __destruct () /* 継承したメソッド */ public function SolrResponse::getDigestedResponse (): stri ... nse::getRawResponseHeaders (): string public function SolrResponse::getRequestUrl (): string public function SolrResponse::getResponse (): SolrObject public function SolrResponse::setParseMode ( int $parser_mode = 0 ): bool public function SolrResponse::suc ... なりません 目次 SolrPingResponse::__construct — コンストラクタ SolrPingResponse::__destruct — デストラクタ SolrPingResponse::getResponse — サーバーからのレスポンスを返す 他のマニュアルの関連ページ Python http.server Python http FastAPI ミドルウェア Django vie ...
https://man.mtool.work/php/8.3/class.solrpingresponse.html
SolrClient::addDocument — Adds a document to the index | PHP 8.3 8058
SolrClient::addDocument (PECL solr >= 0.9.2) SolrClient::addDocument — Adds a document to the index 説明 public function SolrClient::addDocument ( SolrInputDocument $doc , bool $overwrite = true , int $commitWithin = 0 ): SolrUpdateResponse ... ll have to commit changes to be written if you didn't use $commitWithin $client -> commit (); print_r ( $updateResponse -> getResponse ()); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [responseHeader] => SolrObject Object ( [statu ... o commit within 10 seconds $updateResponse = $client -> addDocument ( $doc , false , 10000 ); print_r ( $updateResponse -> getResponse ()); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [responseHeader] => SolrObject Object ( [statu ...
https://man.mtool.work/php/8.3/solrclient.adddocument.html
SolrResponse クラス | PHP 8.3 7944
SolrResponse クラス (PECL solr >= 0.9.2) はじめに Solr サーバーからのレスポンスを表現 クラス概要 abstract class SolrResponse { /* 定数 */ const int PARSE_SOLR_OBJ = 0 ; const int PARSE_SOLR_DOC = 1 ; /* プロパティ */ protected int $ http_st ... ponse (): string public function getRawResponseHeaders (): string public function getRequestUrl (): string public function getResponse (): SolrObject public function setParseMode ( int $parser_mode = 0 ): bool public function success (): bool } プロパティ h ... サーバーからの生のレスポンスヘッダを返す SolrResponse::getRequestUrl — リクエストが送られた完全な URL を返す SolrResponse::getResponse — サーバーからの XML レスポンスを表現する SolrObject を返す SolrResponse::setParseMode — パースモードを設定 SolrResponse:: ...
https://man.mtool.work/php/8.3/class.solrresponse.html
Yaf_Dispatcher クラス | PHP 8.3 7716
Yaf_Dispatcher クラス (Yaf >=1.0.0) はじめに Yaf_Dispatcher の役割は、 リクエスト環境の初期化、やってきたリクエストのルーティング、 そして見つかったアクションへのディスパッチです。 あらゆるレスポンスを取りまとめ、処理が完了した後でそれを返し ... public static function getInstance (): Yaf_Dispatcher public function getRequest (): Yaf_Request_Abstract public function getResponse (): ? Yaf_Response_Abstract public function getRouter (): Yaf_Router public function initView ( string $templates_dir , ar ... e — ディスパッチャのインスタンスを取得する Yaf_Dispatcher::getRequest — リクエストのインスタンスを取得する Yaf_Dispatcher::getResponse — Get the response object Yaf_Dispatcher::getRouter — ルーターのインスタンスを取得する Yaf_Dispatcher::initView — ビューを ...
https://man.mtool.work/php/8.3/class.yaf-dispatcher.html
Yaf_Controller_Abstract クラス | PHP 8.3 7603
Yaf_Controller_Abstract クラス (Yaf >=1.0.0) はじめに Yaf_Controller_Abstract は Yaf システムの中心となるクラスです。 MVC は Model-View-Controller の略で、 アプリケーションのロジックと表示のロジックを切り離すためのデザインパターンです。 すべ ... leName (): string public function getName (): ? string public function getRequest (): Yaf_Request_Abstract public function getResponse (): Yaf_Response_Abstract public function getView (): Yaf_View_Interface public function getViewpath (): string public fun ... Get controller name Yaf_Controller_Abstract::getRequest — 現在のリクエストオブジェクトを取得する Yaf_Controller_Abstract::getResponse — 現在のレスポンスオブジェクトを取得する Yaf_Controller_Abstract::getView — ビューエンジンを取得する Yaf_Controller_Abstra ...
https://man.mtool.work/php/8.3/class.yaf-controller-abstract.html
PREV 1 2 3 NEXT