class ucp_login_link

ucp_login_link Allows users of external accounts link those accounts to their phpBB accounts during an attempted login.

Properties

string $u_action

Methods

main(int $id, string $mode)

Generates the ucp_login_link page and handles login link process

string
get_hidden_fields(array $data)

Builds the hidden fields string from the data array.

array
get_login_link_data_array()

Builds the login_link data array

string|null
process_login_result(array $result)

Processes the result array from the login process

perform_redirect()

Performs a post login redirect

Details

at line 40
main(int $id, string $mode)

Generates the ucp_login_link page and handles login link process

Parameters

int $id
string $mode

at line 155
protected string get_hidden_fields(array $data)

Builds the hidden fields string from the data array.

Parameters

array $data

This function only includes data in the array that has a key that begins with 'loginlink'

Return Value

string

A string of hidden fields that can be included in the template

Builds the login_link data array

Return Value

array

All login_link data. This is all GET data whose names begin with 'loginlink'

at line 200
protected string|null process_login_result(array $result)

Processes the result array from the login process

Parameters

array $result

The login result array

Return Value

string|null

If there was an error in the process, a string is returned. If the login was successful, then null is returned.

at line 258
protected perform_redirect()

Performs a post login redirect