MetaFox

TypeRepositoryInterface
in

Interface Type.

Tags
mixin

BaseRepository

Table of Contents

Methods

deleteType()  : int
getActiveTypes()  : array<string|int, string>
Get activated activity types.
getTypeByType()  : Type|null
updateType()  : Type

Methods

deleteType()

public deleteType(User $context, int $id) : int
Parameters
$context : User
$id : int
Tags
throws
Throwable
throws
AuthorizationException
Return values
int

getActiveTypes()

Get activated activity types.

public getActiveTypes() : array<string|int, string>
Return values
array<string|int, string>

updateType()

public updateType(User $context, int $id, array<string, mixed> $attributes) : Type
Parameters
$context : User
$id : int
$attributes : array<string, mixed>
Tags
throws
Throwable
throws
AuthorizationException
Return values
Type

        
On this page

Search results