Media
extends
Content
in
Interface Media.
Tags
Table of Contents
Methods
- activity_feed() : MorphOne|null
- decrementAmount() : int
- disableFeedSponsor() : void
- disableSponsor() : void
- enableFeedSponsor() : void
- enableSponsor() : void
- entityId() : int
- entityType() : string
- getOwnerPendingMessage() : string|null
- incrementAmount() : int
- isApproved() : bool
- isDraft() : bool
- isOwnerPending() : bool
- isPublished() : bool
- isSponsored() : bool
- isSponsoredInFeed() : bool
- moduleName() : string
- owner() : User|MorphTo|BelongsTo
- ownerEntity() : UserEntity|BelongsTo
- ownerId() : int
- ownerType() : string
- privacyItem() : self|null
- Get indicate item handle privacy logic.
- reactItem() : self
- Get indicate item handle privacy logic.
- toLink() : string|null
- toRouter() : string|null
- toSponsorData() : array<string|int, mixed>|null
- toTitle() : string
- toUrl() : string|null
- user() : User|MorphTo|BelongsTo
- userEntity() : UserEntity|BelongsTo
- userId() : int
- userType() : string
Methods
activity_feed()
public
activity_feed() : MorphOne|null
Tags
Return values
MorphOne|nulldecrementAmount()
public
decrementAmount(string $column[, int $amount = 1 ]) : int
Parameters
- $column : string
- $amount : int = 1
Return values
intdisableFeedSponsor()
public
disableFeedSponsor() : void
disableSponsor()
public
disableSponsor() : void
enableFeedSponsor()
public
enableFeedSponsor() : void
enableSponsor()
public
enableSponsor() : void
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringgetOwnerPendingMessage()
public
getOwnerPendingMessage() : string|null
Return values
string|nullincrementAmount()
public
incrementAmount(string $column[, int $amount = 1 ]) : int
Parameters
- $column : string
- $amount : int = 1
Return values
intisApproved()
public
isApproved() : bool
Return values
boolisDraft()
public
isDraft() : bool
Return values
boolisOwnerPending()
public
isOwnerPending() : bool
Return values
boolisPublished()
public
isPublished() : bool
Return values
boolisSponsored()
public
isSponsored() : bool
Return values
boolisSponsoredInFeed()
public
isSponsoredInFeed() : bool
Return values
boolmoduleName()
public
moduleName() : string
Return values
stringowner()
public
owner() : User|MorphTo|BelongsTo
Return values
User|MorphTo|BelongsToownerEntity()
public
ownerEntity() : UserEntity|BelongsTo
Return values
UserEntity|BelongsToownerId()
public
ownerId() : int
Return values
intownerType()
public
ownerType() : string
Return values
stringprivacyItem()
Get indicate item handle privacy logic.
public
privacyItem() : self|null
Return values
self|nullreactItem()
Get indicate item handle privacy logic.
public
reactItem() : self
Return values
selftoLink()
public
toLink() : string|null
Return values
string|nulltoRouter()
public
toRouter() : string|null
Return values
string|nulltoSponsorData()
public
toSponsorData() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nulltoTitle()
public
toTitle() : string
Return values
stringtoUrl()
public
toUrl() : string|null
Return values
string|nulluser()
public
user() : User|MorphTo|BelongsTo
Return values
User|MorphTo|BelongsTouserEntity()
public
userEntity() : UserEntity|BelongsTo
Return values
UserEntity|BelongsTouserId()
public
userId() : int
Return values
intuserType()
public
userType() : string