[TYPO3-dev] cObj in scheduler task (Extbase)
Jigal van Hemert
jigal.van.hemert at typo3.org
Tue Sep 10 11:36:07 CEST 2013
Hi,
On 10-9-2013 9:57, Stefan Franke wrote:
> I need $cObj->enablefields in an SQL-statement in the scheduler. I
> guess using an eID-mechanism would be the way to go regarding the use
> of ressources, wouldn't it?
\TYPO3\CMS\Backend\Utility\BackendUtility::BEenableFields($table)
(t3lib_BEfunc::BEenableFields($table) in TYPO3 4.x)
\TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause($table)
(t3lib_BEfunc::deleteClause($table) in TYPO3 4.x)
as a combination will have the same functionality.
--
Jigal van Hemert
TYPO3 CMS Active Contributor
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-dev
mailing list