bitpatroon / bpn_handle
Pseudo index called handle
Installs: 426
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
This package is auto-updated.
Last update: 2024-10-22 03:34:49 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