CoolCMS API

PrivilegeGroupService.php

Table of Contents

Classes

PrivilegeGroupService
Privilege groups. `findAll()` is the standard SQL-side filter, sort and paging (ORM CrudTrait in the Api, {@see \App\UI\Api\System\Presenters\PrivilegeGroupPresenter}), extended by one extra read: the privilege count per group, which must be a SQL aggregation (`GROUP BY`), not a PHP count over loaded rows. It cannot join the single ORM query (computed column outside the mapped fields).
On this page

Search results