[TYPO3-english] Extbase Scheduler Task: Pagetitle for given PID

amadeo Marketing & Design - Paul Garais garais at amadeo-marketing.de
Thu Jul 3 13:53:06 CEST 2014


Hi list!

for an extension (extbase/fluid 6.2) that is saving information about downloaded files and sending 
them in a csv-file, I created a scheduler task. The purpose of the scheduler task is to generate the 
csv-file (from database-records) and sending it via e-mail. To get the records from the database I 
just use injection-methods from extbase and are capable to easily use my model/repository and the 
getter-/setter-functions.
For each record there is also saved the page-ID (as source for the download). I would like to get 
the corresponding page-title for each ID. For the "official" way I would have to bring the 
pages-table through an own model into my extension and from there inject it in the scheduler task 
and use it to get the page-title. This is a big waste of resources and an "overkill" just to get the 
page-title.
Is there any alternative to get the page-title for a given ID in a scheduler task without using a 
big bunch of resources for a small task?


Thanks for your support!


Paul



More information about the TYPO3-english mailing list