[TYPO3-project-seminars] How to get the event record-data in hook modifyListItem

Oliver Klee typo3-german-02 at oliverklee.de
Sat Sep 12 00:44:35 CEST 2009


Hi,

Robert Grede schrieb:
> I need accesss to some fields of the event-data-record and use the hook
> modifyListItem therefore. But this record seems to be protected.

Basic rule: Never access the DB directly.

You can use pi1->getSeminar(), and if you need date from the seminar
record, you can XCLASS the seminar class and add your getters to the
subclass.


Oliver


More information about the TYPO3-project-seminars mailing list