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
array
Keyed by content IDgetListTemplateName() : string
string
news_feed_item_{$contentType}_likeincrementLikeCounter(integer $contentId, array $latestLikes, integer $adjustAmount)
integer
array
A list of the latest likes this content has received.
integer
Adjusts the number of likes by this amount