[ Index ]

PHP Cross Reference of MyBB 1.8.38

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: 1200 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.
return: array Array of location and activity information
param: string $location The location (URL) of the user.
param: bool $nopermission

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.
return: string Location name for the activity being performed.
param: array $user_activity Array containing activity and essential IDs.

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



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