SectionManager
class SectionManager implements BasicEntityManagerInterface, JQGridInterface
Class SectionManager is injected as empire_section_info_plugin.manager service. SectionManager handles the logic for managed entity.
Traits
Trait JQGridManagerTrait
Class BlockElementManagerTrait. Handles reading data for block elements
Properties
| protected SectionRepository | $repository |
Methods
mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
No description
from JQGridManagerTrait
mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
No description
from JQGridManagerTrait
mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)
No description
from JQGridManagerTrait
array
getEntitiesForBlockElementsExtension(array $ids)
Get entities from database by ids
__construct(SectionRepository $repository, ContainerInterface $container)
SectionManager constructor.
Section|null
getSectionByPk(int $id)
Find section that match provided id
Section|null
getSectionByPkCached(int $id)
Find section(from cache) that match provided id
deleteSections(array $ids)
Remove sections that match provided ids
mixed
hasRoleAdmin()
No description
string
getCurrentLocale()
Retrieve locale from current request
Details
in JQGridManagerTrait at line 26
mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 40
mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 53
mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)
in BlockElementManagerTrait at line 28
array
getEntitiesForBlockElementsExtension(array $ids)
Get entities from database by ids
in BlockElementManagerTrait at line 40
array
getEntityNamesForIds(array $ids)
Get id and name of entity
at line 48
__construct(SectionRepository $repository, ContainerInterface $container)
SectionManager constructor.
at line 63
Section|null
getSectionByPk(int $id)
Find section that match provided id
at line 77
Section|null
getSectionByPkCached(int $id)
Find section(from cache) that match provided id
at line 171
deleteSections(array $ids)
Remove sections that match provided ids
at line 179
mixed
hasRoleAdmin()
at line 189
string
getCurrentLocale()
Retrieve locale from current request