MediaWiki
REL1_37
ApiFeedContributions__feedItemHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
use
FeedItem
;
7
use
IContextSource
;
8
use stdClass;
9
17
interface
ApiFeedContributions__feedItemHook
{
34
public
function
onApiFeedContributions__feedItem
( $row, $context, &$feedItem );
35
}
FeedItem
A base class for outputting syndication feeds (e.g.
Definition
FeedItem.php:33
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:58
MediaWiki\Api\Hook\ApiFeedContributions__feedItemHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiFeedContributions__feedItemHook.php:17
MediaWiki\Api\Hook\ApiFeedContributions__feedItemHook\onApiFeedContributions__feedItem
onApiFeedContributions__feedItem( $row, $context, &$feedItem)
Use this hook to convert the result of ContribsPager into a FeedItem instance that ApiFeedContributio...
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
ApiFeedContributions__feedItemHook.php
Generated on Fri Apr 5 2024 23:40:02 for MediaWiki by
1.9.8