class viewonline_helper

Class to handle viewonline related tasks

Properties

protected filesystem_interface $filesystem
protected driver_interface $db

Methods

__construct(filesystem_interface $filesystem, driver_interface $db)

No description

void
get_forum_ids(array $session_data_rowset)

Get forum IDs for topics

array
get_user_page(string $session_page)

Get user page

Details

at line 31
__construct(filesystem_interface $filesystem, driver_interface $db)

No description

Parameters

filesystem_interface $filesystem

phpBB's filesystem service

driver_interface $db

at line 46
void get_forum_ids(array $session_data_rowset)

Get forum IDs for topics

Retrieve forum IDs and add the data into the session data array Array structure matches sql_fethrowset() result array

Parameters

array $session_data_rowset

Users' session data array

Return Value

void

at line 85
array get_user_page(string $session_page)

Get user page

Parameters

string $session_page

User's session page

Return Value

array

Match array filled by preg_match()