[TYPO3-english] Extbase Scheduler Task: Pagetitle for given PID
amadeo Marketing & Design - Paul Garais
garais at amadeo-marketing.de
Thu Jul 3 15:41:19 CEST 2014
Hi,
thank you very much for that fast response! It works like a charm and is very efficient.
I wasn't aware of the fact that these functions are available because I have read somewhere that
they are currently (for 6.1) not implemented. So always check your information twice -.-
Greetings,
Paul
Am 03.07.2014 15:21, schrieb Jigal van Hemert:
> Hi,
>
> On 3-7-2014 13:53, amadeo Marketing & Design - Paul Garais wrote:
>> 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?
>
> For example:
>
> $page = \TYPO3\CMS\Backend\Utility\BackendUtility::getRecord('pages', $ID);
>
> and if you want to get the title in a generic way (works for all tables with a TCA):
>
> $title = \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitle('pages', $page);
>
>
More information about the TYPO3-english
mailing list