Documentation

ActivityCategory
in package

Table of Contents

Properties

$aclService  : AclService
$categoryForm  : ActivityCategory
$categoryMapper  : ActivityCategory
$translator  : Translator

Methods

__construct()  : mixed
createCategory()  : bool
deleteCategory()  : void
findAll()  : array<string|int, ActivityCategory>
Get all categories.
getCategoryById()  : ActivityCategory|null
Get all categories.
getCategoryForm()  : ActivityCategory
Return Category creation form.
updateCategory()  : bool

Properties

Methods

createCategory()

public createCategory(array<string|int, mixed> $data) : bool
Parameters
$data : array<string|int, mixed>
Tags
phpcsSuppress

SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification

Return values
bool

updateCategory()

public updateCategory(ActivityCategory $category, array<string|int, mixed> $data) : bool
Parameters
$category : ActivityCategory
$data : array<string|int, mixed>
Tags
phpcsSuppress

SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification

Return values
bool

        
On this page

Search results