[ Index ]

PHP Cross Reference of Xoops v2.3.1

[Global whois Lookup]    [Ranchi, Jharkhand, India website]     [Hindi Magazine]     [Desi Community website in tristate area]    [B 4 Bollywood]    [Internet nation of India]

title

Body

[close]

/kernel/ -> online.php (summary)

(no description)

Author: Kazumi Ono
Copyright: copyright (c) 2000-2003 XOOPS.org
File Size: 175 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

XoopsOnlineHandler:: (6 methods):
  XoopsOnlineHandler()
  write()
  destroy()
  gc()
  getAll()
  getCount()


Class: XoopsOnlineHandler  - X-Ref

A handler for "Who is Online?" information

XoopsOnlineHandler(&$db)   X-Ref
Constructor

param: object  &$db    {@link XoopsHandlerFactory}

write($uid, $uname, $time, $module, $ip)   X-Ref
Write online information to the database

param: int     $uid    UID of the active user
param: string  $uname  Username
param: string  $timestamp
param: string  $module Current module
param: string  $ip     User's IP adress
return: bool    TRUE on success

destroy($uid)   X-Ref
Delete online information for a user

param: int $uid    UID
return: bool    TRUE on success

gc($expire)   X-Ref
Garbage Collection

Delete all online information that has not been updated for a certain time

param: int $expire Expiration time in seconds

getAll($criteria = null)   X-Ref
Get an array of online information

param: object  $criteria   {@link CriteriaElement}
return: array   Array of associative arrays of online information

getCount($criteria = null)   X-Ref
Count the number of online users

param: object  $criteria   {@link CriteriaElement}



[ Xoops]     [PhpNuke]     [PostNuke]     [Joomla]    [Drupal]    [E107]    [NucleusCms]
[Php-Fusion]     [PhpBB]     [WordPress]     [Typo3]
Generated: Mon Oct 27 11:51:45 2008
Open Source related documentation for developers.