[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> functions_online.php (summary)

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license

File Size: 1047 lines (30 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 The location (URL) of the user.
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 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 Array of user information including activity information
return: string Formatted online row



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1