[TYPO3-english] Show count of users in usergroup

Jigal van Hemert jigal.van.hemert at typo3.org
Sun Dec 29 20:45:48 CET 2013


Hi,

On 29-12-2013 16:46, Nemanja Todic wrote:
>>> he structure is basically this " usergroup id | start date | end date
>>> | "
> IMO the developer of the ext. that introduced this "timed" feature did a
> bad job by storing data in such format.

Not necessarily. It's meant to be used during login when the usergroups 
the user is a member of are determined. This format is suitable for this 
as it's pretty easy in the code to check the timestamps and add the 
group ID to the list of groups if the timestamps match.

This shows clearly that the appropriate data structure very much depends 
on the purpose :-)

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list