[ Index ]

PHP Cross Reference of MyBB 1.8.26

title

Body

[close]

/inc/ -> functions_online.php (summary)

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 1196 lines (33 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  fetch_wol_activity()
  build_friendly_wol_location()
  build_wol_row()

Functions
Functions that are not part of a class:

fetch_wol_activity($location, $nopermission=false)   X-Ref
Fetch a users activity and any corresponding details from their location.
param: string $location The location (URL) of the user.
param: bool $nopermission
return: array Array of location and activity information

build_friendly_wol_location($user_activity)   X-Ref
Builds a friendly named Who's Online location from an "activity" and array of user data. Assumes fetch_wol_activity has already been called.
param: array $user_activity Array containing activity and essential IDs.
return: string Location name for the activity being performed.

build_wol_row($user)   X-Ref
Build a Who's Online row for a specific user
param: array $user Array of user information including activity information
return: string Formatted online row



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref