MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onWebResponseSetCookie (&$name, &$value, &$expire, &$options) | |
This hook is called when setting a cookie in WebResponse::setcookie(). | |
Stable to implement.
Definition at line 9 of file WebResponseSetCookieHook.php.
MediaWiki\Hook\WebResponseSetCookieHook::onWebResponseSetCookie | ( | & | $name, |
& | $value, | ||
& | $expire, | ||
& | $options | ||
) |
This hook is called when setting a cookie in WebResponse::setcookie().
string | &$name | Cookie name passed to WebResponse::setcookie() |
string | &$value | Cookie value passed to WebResponse::setcookie() |
int | null | &$expire | Cookie expiration, as for PHP's setcookie() |
array | &$options | Options passed to WebResponse::setcookie() |
Implemented in MediaWiki\HookContainer\HookRunner.