MediaWiki master
LogFormatterFactory Class Reference

Public Member Functions

 __construct (ServiceOptions $options, ObjectFactory $objectFactory, HookContainer $hookContainer, LinkRenderer $linkRenderer, Language $contentLanguage, CommentFormatter $commentFormatter, UserEditTracker $userEditTracker)
 
 newFromEntry (LogEntry $entry)
 
 newFromRow ( $row)
 

Public Attributes

const SERVICE_OPTIONS
 

Detailed Description

Definition at line 12 of file LogFormatterFactory.php.

Constructor & Destructor Documentation

◆ __construct()

LogFormatterFactory::__construct ( ServiceOptions $options,
ObjectFactory $objectFactory,
HookContainer $hookContainer,
LinkRenderer $linkRenderer,
Language $contentLanguage,
CommentFormatter $commentFormatter,
UserEditTracker $userEditTracker )

Member Function Documentation

◆ newFromEntry()

LogFormatterFactory::newFromEntry ( LogEntry $entry)
Parameters
LogEntry$entry
Returns
LogFormatter

Definition at line 49 of file LogFormatterFactory.php.

◆ newFromRow()

LogFormatterFactory::newFromRow ( $row)
Parameters
stdClass | array$row
Returns
LogFormatter
See also
DatabaseLogEntry::getSelectQueryData

Definition at line 77 of file LogFormatterFactory.php.

Member Data Documentation

◆ SERVICE_OPTIONS

const LogFormatterFactory::SERVICE_OPTIONS
Initial value:
= [
MainConfigNames::LogActionsHandlers,
]

Definition at line 14 of file LogFormatterFactory.php.


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