Copied!

ActivityLogServiceInterface

ActivityLogServiceInterface.php : 17

Constants

publicACTION_COPY

ActivityLogServiceInterface.php : 19
public mixed ACTION_COPY = 'copy'

publicACTION_CREATE

ActivityLogServiceInterface.php : 20
public mixed ACTION_CREATE = 'create'

publicACTION_CREATE_DRAFT

ActivityLogServiceInterface.php : 21
public mixed ACTION_CREATE_DRAFT = 'create_draft'

publicACTION_DELETE

ActivityLogServiceInterface.php : 22
public mixed ACTION_DELETE = 'delete'

publicACTION_DELETE_TRANSLATION

ActivityLogServiceInterface.php : 23
public mixed ACTION_DELETE_TRANSLATION = 'delete_translation'

publicACTION_HIDE

ActivityLogServiceInterface.php : 24
public mixed ACTION_HIDE = 'hide'

publicACTION_MOVE

ActivityLogServiceInterface.php : 25
public mixed ACTION_MOVE = 'move'

publicACTION_PUBLISH

ActivityLogServiceInterface.php : 26
public mixed ACTION_PUBLISH = 'publish'

publicACTION_RESTORE

ActivityLogServiceInterface.php : 30
public mixed ACTION_RESTORE = 'restore'

publicACTION_REVEAL

ActivityLogServiceInterface.php : 27
public mixed ACTION_REVEAL = 'reveal'

publicACTION_SWAP

ActivityLogServiceInterface.php : 28
public mixed ACTION_SWAP = 'swap'

publicACTION_TRASH

ActivityLogServiceInterface.php : 31
public mixed ACTION_TRASH = 'trash'

publicACTION_UPDATE

ActivityLogServiceInterface.php : 29
public mixed ACTION_UPDATE = 'update'

Methods

publicbuild()

ActivityLogServiceInterface.php : 50
public build(string $objectClass, string $objectId, string $action) : CreateActivityLogStruct

Parameters

Name Type Default value Description
$objectClass string - -
$objectId string - -
$action string - -

Return values

CreateActivityLogStruct

publiccountGroups()

ActivityLogServiceInterface.php : 41
public countGroups([Query $query = null ]) : int

Parameters

Name Type Default value Description
$query Query null -

Return values

int

Tags
Throws
ForbiddenException

publicdisable()

ActivityLogServiceInterface.php : 59
public disable() : void

publicdismissContext()

ActivityLogServiceInterface.php : 91
public dismissContext() : void

publicenable()

ActivityLogServiceInterface.php : 57
public enable() : void

publicfindGroups()

ActivityLogServiceInterface.php : 36
public findGroups([Query $query = null ]) : ActivityGroupListInterface

Parameters

Name Type Default value Description
$query Query null -

Return values

ActivityGroupListInterface

Tags
Throws
ForbiddenException

publicgetAction()

ActivityLogServiceInterface.php : 85
public getAction(int $id) : ActionInterface

Parameters

Name Type Default value Description
$id int - -

Return values

ActionInterface

Tags
Throws
NotFoundException

publicgetActions()

ActivityLogServiceInterface.php : 80
public getActions() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetObjectClass()

ActivityLogServiceInterface.php : 75
public getObjectClass(int $id) : ObjectClassInterface

Parameters

Name Type Default value Description
$id int - -

Return values

ObjectClassInterface

Tags
Throws
NotFoundException

publicgetObjectClasses()

ActivityLogServiceInterface.php : 68
public getObjectClasses() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicisDisabled()

ActivityLogServiceInterface.php : 63
public isDisabled() : bool

Return values

bool

publicisEnabled()

ActivityLogServiceInterface.php : 61
public isEnabled() : bool

Return values

bool

publicprepareContext()

ActivityLogServiceInterface.php : 89
public prepareContext(string $source[, string|null $description = null ]) : ContextInterface

Parameters

Name Type Default value Description
$source string - -
$description string|null null -

Return values

ContextInterface

publicsave()

ActivityLogServiceInterface.php : 55
public save(CreateActivityLogStruct $struct) : int|null

Parameters

Name Type Default value Description
$struct CreateActivityLogStruct - -

Return values

int|null

publictruncate()

ActivityLogServiceInterface.php : 87
public truncate() : void