DiogenesWebDAVLogger Class Reference

Inheritance diagram for DiogenesWebDAVLogger:

Inheritance graph
[legend]
Collaboration diagram for DiogenesWebDAVLogger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DiogenesWebDAVLogger ($uid, $auth, $username)
 writeSession ($uid, $suid, $auth, $sauth)

Public Attributes

 $newsession
 $sessionlength = 1800

Detailed Description

Class for logging WebDAV activity.

The difference with DiogenesCoreLogger is that we do not have PHP sessions in WebDAV mode so we need a small hack to avoid creating a new 'session' entry for each operation.

Definition at line 30 of file diogenes.webdav.logger.inc.php.


Member Function Documentation

DiogenesWebDAVLogger::DiogenesWebDAVLogger ( uid,
auth,
username 
)

The constructor, creates a new entry in the sessions table

Parameters:
$uid the id of the logged user
$auth authentication method for the logged user
$username the username of the logged user
Returns:
VOID

Definition at line 45 of file diogenes.webdav.logger.inc.php.

References DiogenesCoreLogger::$uid, DiogenesCoreLogger::DiogenesCoreLogger(), and DiogenesCoreLogger::log().

Here is the call graph for this function:

DiogenesWebDAVLogger::writeSession ( uid,
suid,
auth,
sauth 
)

Try to pickup an existing session, otherwise create a new entry

Parameters:
$uid the id of the logged user
$suid the id of the administrator who has just su'd to the user
$auth authentication method for the logged user
$sauth authentication method for the su'er
Returns:
session the session id

Reimplemented from DiogenesCoreLogger.

Definition at line 64 of file diogenes.webdav.logger.inc.php.

References DiogenesCoreLogger::$session, and DiogenesCoreLogger::$uid.


Member Data Documentation

DiogenesWebDAVLogger::$newsession

is this a new WebDAV 'session' ?

Definition at line 33 of file diogenes.webdav.logger.inc.php.

DiogenesWebDAVLogger::$sessionlength = 1800

WebDAV 'session' duration in seconds

Definition at line 36 of file diogenes.webdav.logger.inc.php.


The documentation for this class was generated from the following file:
Generated on Fri Jan 11 01:20:09 2008 for Diogenes by  doxygen 1.5.1