MediaWiki REL1_33
WatchedItem.php
Go to the documentation of this file.
1<?php
23
36 private $linkTarget;
37
41 private $user;
42
47
53 public function __construct(
54 User $user,
57 ) {
58 $this->user = $user;
59 $this->linkTarget = $linkTarget;
60 $this->notificationTimestamp = $notificationTimestamp;
61 }
62
66 public function getUser() {
67 return $this->user;
68 }
69
73 public function getLinkTarget() {
74 return $this->linkTarget;
75 }
76
82 public function getNotificationTimestamp() {
84 }
85}
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:48
Representation of a pair of user and title for watchlist entries.
__construct(User $user, LinkTarget $linkTarget, $notificationTimestamp)
LinkTarget $linkTarget
getNotificationTimestamp()
Get the notification timestamp of this entry.
null string $notificationTimestamp
the value of the wl_notificationtimestamp field