Abstract handling for the content-specific aspects of liking content.
| package | XenForo_Like |
|---|
getContentData(array $contentIds, array $viewingUser) : array
This must check viewing permissions!
array
array
arrayKeyed by content IDgetListTemplateName() : string
stringnews_feed_item_{$contentType}_likeincrementLikeCounter(integer $contentId, array $latestLikes, integer $adjustAmount)
integer
arrayA list of the latest likes this content has received.
integerAdjusts the number of likes by this amount