HasContent
Trait HasResourceEntity.
Table of Contents
Properties
- $is_approved : mixed
- $is_draft : mixed
Methods
- __toString() : mixed
- deletePrivacyStreams() : void
- Delete {item}_privacy_streams.
- disableFeedSponsor() : void
- disableSponsor() : void
- enableFeedSponsor() : void
- enableSponsor() : void
- getOwnerPendingMessage() : string|null
- This method is used for getting pending message if item is pending.
- getThumbnail() : string|null
- isApproved() : mixed
- isDraft() : mixed
- isOwnerPending() : bool
- isPublished() : mixed
- isSponsored() : bool
- isSponsoredInFeed() : bool
- likes() : MorphMany
- privacyItem() : mixed
- reactItem() : mixed
- shares() : MorphMany
- syncPrivacyStreams() : void
- Create {item}_privacy_streams.
- toLink() : string|null
- toRouter() : string|null
- toSitemapUrl() : string|null
- toSponsorData() : array<string|int, mixed>|null
- toUrl() : string|null
Properties
$is_approved
public
mixed
$is_approved
$is_draft
public
mixed
$is_draft
Methods
__toString()
public
__toString() : mixed
deletePrivacyStreams()
Delete {item}_privacy_streams.
public
deletePrivacyStreams() : void
disableFeedSponsor()
public
disableFeedSponsor() : void
disableSponsor()
public
disableSponsor() : void
enableFeedSponsor()
public
enableFeedSponsor() : void
enableSponsor()
public
enableSponsor() : void
getOwnerPendingMessage()
This method is used for getting pending message if item is pending.
public
getOwnerPendingMessage() : string|null
Return values
string|nullgetThumbnail()
public
getThumbnail() : string|null
Return values
string|nullisApproved()
public
isApproved() : mixed
isDraft()
public
isDraft() : mixed
isOwnerPending()
public
isOwnerPending() : bool
Return values
boolisPublished()
public
isPublished() : mixed
isSponsored()
public
isSponsored() : bool
Return values
boolisSponsoredInFeed()
public
isSponsoredInFeed() : bool
Return values
boollikes()
public
likes() : MorphMany
Return values
MorphManyprivacyItem()
public
privacyItem() : mixed
reactItem()
public
reactItem() : mixed
shares()
public
shares() : MorphMany
Return values
MorphManysyncPrivacyStreams()
Create {item}_privacy_streams.
public
syncPrivacyStreams(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
toLink()
public
toLink() : string|null
Return values
string|nulltoRouter()
public
toRouter() : string|null
Return values
string|nulltoSitemapUrl()
public
toSitemapUrl() : string|null
Return values
string|nulltoSponsorData()
public
toSponsorData() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nulltoUrl()
public
toUrl() : string|null