FusionDirectory
 All Data Structures Files Functions Variables
Static Public Member Functions | Static Protected Member Functions
logging Class Reference

This is the base class for the FusionDirectory logging functionality. All logging should lead to this class. More...

Static Public Member Functions

static log ($action, $objecttype, $object, array $changes_array=array(), $result= '')
 logging method More...
 

Static Protected Member Functions

static check ($entry=array())
 Check the options. More...
 

Detailed Description

This is the base class for the FusionDirectory logging functionality. All logging should lead to this class.

Author
Fabian Hickert hicke.nosp@m.rt@g.nosp@m.onicu.nosp@m.s.de
Version
2.6
Date
11.04.2007

Definition at line 36 of file class_logging.inc.

Member Function Documentation

static check (   $entry = array())
staticprotected

Check the options.

Parameters
Array$entryto be checked

Definition at line 98 of file class_logging.inc.

static log (   $action,
  $objecttype,
  $object,
array  $changes_array = array(),
  $result = '' 
)
static

logging method

Parameters
$actionOne of these values (modify|create|remove|snapshot|copy|view|security|debug)
$objecttyperepresents the current edited objecttype, like user/user
$objectrepresents the current edited object dn
$changes_arrayAn array containing names of all touched attributes
$resultA status message, containing errors or success messages

Definition at line 52 of file class_logging.inc.

References msg_dialog\display().

Referenced by simpleService\execute(), gosaRaiseError(), simplePlugin\move(), and simplePlugin\post_save().


The documentation for this class was generated from the following file: