bitpatroon/bpn_handle

Pseudo index called handle

Installs: 428

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v10.4.2 2021-05-21 19:34 UTC

This package is auto-updated.

Last update: 2024-11-22 03:36:07 UTC


README

Allows to set handles on pages, tt_content and usergroups. Technically allows the developer to retrieve records using handles.

Retrieve a record by calling

/** @var \BPN\BpnHandle\Domain\Repository\PageRepository $pageRepository
$pageRepository->findByHandle($handle);

retrieves the pages by a string handle. Returns all records containg this handle. The collection (array) is associative by uid.

Similarly works for usergroups:

/** @var \BPN\BpnHandle\Domain\Repository\FrontendUserGroupRepository $repository
$repository->findByHandle($handle);

and content:

/** @var \BPN\BpnHandle\Domain\Repository\ContentRepository $repository
$repository->findByHandle($handle);

Thanks to

Many thanks for the concept by Frans van der Veen
May the force be with you!

Ported to TYPO3 10.4 by Sjoerd Zonneveld