MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onWebResponseSetCookie (&$name, &$value, &$expire, &$options) | |
This hook is called when setting a cookie in WebResponse::setcookie(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "WebResponseSetCookie" to register handlers implementing this interface.
Definition at line 12 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.