MetaFox

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

Methods

deletePrivacyStreams()

Delete {item}_privacy_streams.

public deletePrivacyStreams() : void

disableFeedSponsor()

public disableFeedSponsor() : void

disableSponsor()

public disableSponsor() : void

enableFeedSponsor()

public enableFeedSponsor() : void

getOwnerPendingMessage()

This method is used for getting pending message if item is pending.

public getOwnerPendingMessage() : string|null
Return values
string|null

getThumbnail()

public getThumbnail() : string|null
Return values
string|null

isOwnerPending()

public isOwnerPending() : bool
Return values
bool

isSponsored()

public isSponsored() : bool
Return values
bool

isSponsoredInFeed()

public isSponsoredInFeed() : bool
Return values
bool

likes()

public likes() : MorphMany
Return values
MorphMany

shares()

public shares() : MorphMany
Return values
MorphMany

syncPrivacyStreams()

Create {item}_privacy_streams.

public syncPrivacyStreams(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
public toLink() : string|null
Return values
string|null

toRouter()

public toRouter() : string|null
Return values
string|null

toSitemapUrl()

public toSitemapUrl() : string|null
Return values
string|null

toSponsorData()

public toSponsorData() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

toUrl()

public toUrl() : string|null
Return values
string|null

        
On this page

Search results