Copied!

CreateActivityLogStruct

CreateActivityLogStruct.php : 14

Methods

public__construct()

CreateActivityLogStruct.php : 35
public __construct(string $objectClass, string $objectId, string $action, int $userId[, string|null $objectName = null ][, array<string, mixed> $data = [] ])

Parameters

Name Type Default value Description
$objectClass string - -
$objectId string - -
$action string - -
$userId int - -
$objectName string|null null -
$data array<string, mixed> [] -

publicgetAction()

CreateActivityLogStruct.php : 64
public getAction() : string

Return values

string

publicgetData()

CreateActivityLogStruct.php : 95
public getData() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetObjectClass()

CreateActivityLogStruct.php : 54
public getObjectClass() : string

Return values

string

publicgetObjectId()

CreateActivityLogStruct.php : 59
public getObjectId() : string

Return values

string

publicgetObjectName()

CreateActivityLogStruct.php : 79
public getObjectName() : string|null

Return values

string|null

publicgetUserId()

CreateActivityLogStruct.php : 69
public getUserId() : int

Return values

int

publicsetData()

CreateActivityLogStruct.php : 87
public setData(array<string|int, mixed> $data) : void

Parameters

Name Type Default value Description
$data array<string|int, mixed> - -

publicsetObjectName()

CreateActivityLogStruct.php : 74
public setObjectName(string $objectName) : void

Parameters

Name Type Default value Description
$objectName string - -