Function Forum_driver_wbb22->authorise_cookie_login

Definitions

sources/forum/wbb22.php

  • Try and log in using a member cookie.Should only be called if the cookie exists.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Returns

  • A map of 'id' and 'error'. If 'id' is null, an error occurred and 'error' is set (null: no cookie)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Try and log in using a member cookie.Should only be called if the cookie exists.
 *
 * @return ?array A map of 'id' and 'error'. If 'id' is null, an error occurred and 'error' is set (null: no cookie)
 */

public function authorise_cookie_login() : ?array