X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FWatchedItem.php;h=a6e75162e32c30636beec5e3840604477da6bdd8;hb=97a4ad455f836f779a056a4a53e57227b3ad0d1e;hp=fe9784381e2b0b34b6a56c1143767ea6dcb4ceeb;hpb=7af7ba2f05dd802d6ff8615364dd874862ebc4be;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WatchedItem.php b/includes/WatchedItem.php index fe9784381e..a6e75162e3 100644 --- a/includes/WatchedItem.php +++ b/includes/WatchedItem.php @@ -70,16 +70,26 @@ class WatchedItem { return $this->mTitle; } - /** Helper to retrieve the title namespace */ + /** + * Helper to retrieve the title namespace + * @return int + */ protected function getTitleNs() { return $this->getTitle()->getNamespace(); } - /** Helper to retrieve the title DBkey */ + /** + * Helper to retrieve the title DBkey + * @return string + */ protected function getTitleDBkey() { return $this->getTitle()->getDBkey(); } - /** Helper to retrieve the user id */ + + /** + * Helper to retrieve the user id + * @return int + */ protected function getUserId() { return $this->mUser->getId(); }