MetaFox

FriendListData extends Pivot
in package
implements IsPrivacyItemInterface, Entity Uses HasFactory, HasEntity

Class FriendListData.

Tags
mixin

Builder

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

Properties

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

public static factory() : FriendListDataFactory
Return values
FriendListDataFactory

moduleName()

public moduleName() : string
Return values
string

toPrivacyItem()

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
Return values
FriendListDataFactory

        
On this page

Search results