[Typo3-dev] Access cObj->enableFields from stand alone script
Robert Lemke
rl at robertlemke.de
Mon Sep 1 13:55:27 CEST 2003
Mathias Schreiber [netfielders] wrote:
> anybody here who can tell me what files to include so I can access the
> enableFields from a stand alone PHP script?
If you don't have an initialized cObj, I'd call the enableFields function
directly:
require_once ('t3lib/class.t3lib_page.php');
$whereClause = t3lib_pageSelect::enableFields($table,$show_hidden);
See enableFields in tslib_content for more information!
(Didn't test this but should work)
--
robert
More information about the TYPO3-dev
mailing list