FriendListData
extends Pivot
in package
implements
IsPrivacyItemInterface, Entity
Uses
HasFactory, HasEntity
Class FriendListData.
Tags
Table of Contents
Interfaces
- IsPrivacyItemInterface
- Entity
- Interface Entity.
Constants
- ENTITY_TYPE = 'friend_list_data'
Properties
- $id : int
- $list_id : int
- $ordering : int
- $timestamps : mixed
- $user_id : int
- $user_type : string
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : FriendListDataFactory
- moduleName() : string
- toPrivacyItem() : array<string|int, mixed>
- Result [ [$userId, $itemId, $itemType, $privacyType] ] $userId: to Insert into privacy_data $itemId: $itemType, $privacyType: to find privacy_id.
- newFactory() : FriendListDataFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'friend_list_data'
Properties
$id
public
int
$id
$list_id
public
int
$list_id
$ordering
public
int
$ordering
$timestamps
public
mixed
$timestamps
= false
$user_id
public
int
$user_id
$user_type
public
string
$user_type
$table
protected
mixed
$table
= 'friend_list_data'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory() : FriendListDataFactory
Return values
FriendListDataFactorymoduleName()
public
moduleName() : string
Return values
stringtoPrivacyItem()
Result [ [$userId, $itemId, $itemType, $privacyType] ] $userId: to Insert into privacy_data $itemId: $itemType, $privacyType: to find privacy_id.
public
toPrivacyItem() : array<string|int, mixed>
Return values
array<string|int, mixed>newFactory()
protected
static newFactory() : FriendListDataFactory