HasUser
Trait HasUserEntity.
Tags
Table of Contents
Properties
- $deleted_at : string
Methods
- getApprovedMessage() : string|null
- getDeclinedMessage() : string|null
- getItemPrivacy() : int|null
- getPendingMessage() : string|null
- getRepresentativePrivacy() : int|null
- getRepresentativePrivacyDetail() : array<string|int, mixed>|null
- getSmallestRoleId() : int
- getTotalCommentAttribute() : int
- getTotalReplyAttribute() : int
- hasAdminRole() : bool
- hasContentPrivacy() : bool
- hasPendingMode() : bool
- hasStaffRole() : bool
- hasSuperAdminRole() : bool
- isDeleted() : bool
- isGuest() : bool
- isPendingMode() : bool|null
- isTaggingAllowed() : bool
- preferredLocale() : string|null
- toDeclinedContentLink() : string|null
- toDeclinedContentUrl() : string|null
Properties
$deleted_at
public
string
$deleted_at
Methods
getApprovedMessage()
public
getApprovedMessage() : string|null
Return values
string|nullgetDeclinedMessage()
public
getDeclinedMessage() : string|null
Return values
string|nullgetItemPrivacy()
public
getItemPrivacy() : int|null
Return values
int|nullgetPendingMessage()
public
getPendingMessage() : string|null
Return values
string|nullgetRepresentativePrivacy()
public
getRepresentativePrivacy() : int|null
Return values
int|nullgetRepresentativePrivacyDetail()
public
getRepresentativePrivacyDetail(int $privacy) : array<string|int, mixed>|null
Parameters
- $privacy : int
Return values
array<string|int, mixed>|nullgetSmallestRoleId()
public
getSmallestRoleId() : int
Return values
intgetTotalCommentAttribute()
public
getTotalCommentAttribute() : int
Return values
intgetTotalReplyAttribute()
public
getTotalReplyAttribute() : int
Return values
inthasAdminRole()
public
hasAdminRole() : bool
Return values
boolhasContentPrivacy()
public
hasContentPrivacy() : bool
Return values
boolhasPendingMode()
public
hasPendingMode() : bool
Return values
boolhasStaffRole()
public
hasStaffRole() : bool
Return values
boolhasSuperAdminRole()
public
hasSuperAdminRole() : bool
Return values
boolisDeleted()
public
isDeleted() : bool
Return values
boolisGuest()
public
isGuest() : bool
Return values
boolisPendingMode()
public
isPendingMode() : bool|null
Return values
bool|nullisTaggingAllowed()
public
isTaggingAllowed() : bool
Return values
boolpreferredLocale()
public
preferredLocale() : string|null
Return values
string|nulltoDeclinedContentLink()
public
toDeclinedContentLink() : string|null
Return values
string|nulltoDeclinedContentUrl()
public
toDeclinedContentUrl() : string|null