MediaWiki master
LogEntry.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Logging;
8
11
23interface LogEntry {
24
30 public function getType();
31
37 public function getSubtype();
38
44 public function getFullType();
45
54 public function getParameters();
55
61
67 public function getTarget();
68
74 public function getTimestamp();
75
81 public function getComment();
82
88 public function getDeleted();
89
94 public function isDeleted( $field );
95}
96
98class_alias( LogEntry::class, 'LogEntry' );
Represents a title within MediaWiki.
Definition Title.php:69
An individual log entry.
Definition LogEntry.php:23
getType()
The main log type.
getFullType()
The full logtype in format maintype/subtype.
getTimestamp()
Get the timestamp when the action was executed.
getParameters()
Get the extra parameters stored for this message.
getDeleted()
Get the access restriction.
getSubtype()
The log subtype.
getComment()
Get the user provided comment.
getTarget()
Get the target page of this action.
Interface for objects representing user identity.