HasSponsorInFeed
Trait HasSponsorInFeed.
Table of Contents
Methods
- isFeedSponsored() : bool
- sponsorInFeed() : bool
- unsponsorInFeed() : bool
Methods
isFeedSponsored()
public
isFeedSponsored(Content $model) : bool
Parameters
- $model : Content
Return values
boolsponsorInFeed()
public
sponsorInFeed(User $context, int $id, int $newValue) : bool
Parameters
- $context : User
- $id : int
- $newValue : int
Tags
Return values
boolunsponsorInFeed()
public
unsponsorInFeed(User $context, int $id) : bool
Parameters
- $context : User
- $id : int