BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\ActionLogger Class Reference
Inheritance diagram for BlueSpice\ActionLogger:
Collaboration diagram for BlueSpice\ActionLogger:

Public Member Functions

 __construct ($type, $performer, $target)
 
 log ($action, $params, $options=array(), $publish=false)
 

Public Attributes

const OPT_PERFORMER = 'performer'
 
const OPT_TARGET = 'target'
 
const OPT_TIMESTAMP = 'timestamp'
 
const OPT_RELATIONS = 'relations'
 
const OPT_COMMENT = 'comment'
 
const OPT_DELETED = 'deleted'
 

Protected Member Functions

 newLogEntry ($subtype)
 

Protected Attributes

 $type = ''
 
 $performer = null
 
 $target = null
 

Detailed Description

Constructor & Destructor Documentation

BlueSpice\ActionLogger::__construct (   $type,
  $performer,
  $target 
)
Parameters
string$type
\User$performer
\Title$target

Member Function Documentation

BlueSpice\ActionLogger::log (   $action,
  $params,
  $options = array(),
  $publish = false 
)
Parameters
string$action
array$params
array$options
boolean$publishWhether to list in recent changes or not
Returns
int

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