Is it just me or is everyone kind of lost in those gazillions of classes and namespaces within the TYPO3 API? Wouldn't it be nice to just know them?
I gave up.
Here are some classes I often should but in fact don't remember:
t3lib_div is no more:
t3lib_extMgm was renamed to:
which should not be confused with
(which deals with ExtBase related stuff such as mapping controllers to plugins)
You want to create a controller? Extend:
A model? Repository? Here it is:
Want to fetch some pages from the database? You might want to use this special repository (formerly known as
Luckily, for frontend users and groups there are proper models and repositories:
\TYPO3\CMS\Extbase\Domain\Model\FrontendUser \TYPO3\CMS\Extbase\Persistence\Repository\FrontendUserRepository \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup \TYPO3\CMS\Extbase\Persistence\Repository\FrontendUserGroupRepository
… and there are some more in typo3/sysext/extbase/Classes/Domain/
Another useful class is the
ObjectManager which replaces the
makeInstance() function. This is especially useful in classes that don't support
Last but not least I want to mention the ExtBase Bootstrapper, which can be used to call ExtBase plugins from TypoScript (formerly called
There's always more of course, but those classes are the ones I stumble upon most of the time.
If you need more, I would start with the collection of functions typically used and nice to know in the official TYPO3 documentation. And of course there is always TYPO3 developers' worst friend: The API documentation.