HttpQueryString::getとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > HttpQueryString::getの意味・解説 

HttpQueryString::get

(No version information available, might be only in CVS)
HttpQueryString::get — クエリ文字列 (の一部) を取得する

説明

public mixed HttpQueryString::get ( [string key [, mixed type = 0 [, mixed defval = NULL [, bool delete = FALSE]]]] )
クエリ文字列 (の一部) を取得します。
パラメータ type には HttpQueryString::TYPE_* 定数のいずれか、 あるいは型を省略したものを指定します。例えば "b" は bool、"i" は int、"f" は float、 "s" は string、"a" は array そして "o" は stdClass オブジェクトです。

パラメータ

key
取得するクエリ文字列パラメータのキー。
type
変数の型。
defval
キーが存在しない場合のデフォルトの値。
delete
クエリ文字列からキー・値の組み合わせを削除するかどうか。

返り値

クエリ文字列パラメータの値を返します。キーが指定されない場合は、 クエリ文字列全体を返します。キーが存在しない場合は defval を返します。



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「HttpQueryString::get」の関連用語

HttpQueryString::getのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpQueryString::getのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2024 by the PHP Documentation Group.

©2024 GRAS Group, Inc.RSS