CoolCMS API

DeleteTrait

Generic mapper `delete()` and `deleteAll()`, delegating to the repository (bridge POST).

It is not tied to a module (Front/Admin), so both bridge stacks share it.

Table of Contents

Methods

delete()  : Result
deleteAll()  : Result

Methods

delete()

public delete(int|array<string|int, mixed> $id) : Result
Parameters
$id : int|array<string|int, mixed>
Return values
Result

deleteAll()

public deleteAll([array<string|int, mixed> $filters = [] ]) : Result
Parameters
$filters : array<string|int, mixed> = []
Return values
Result
On this page

Search results