phpday 2027 - Call for Papers

Yaf_Request_Http::getCookie

(Yaf >=1.0.0)

Yaf_Request_Http::getCookie — Cookie 変数を取得する

説明

public function Yaf_Request_Http::getCookie(string $name, string $default = ?): mixed

Cookie 変数を取得します。

パラメータ

name

クッキー名。

default

このパラメータを指定すると、クッキーが見つからない場合にこの値を返すようになります。

戻り値

参考

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top