[TYPO3-dev] t3lib_BEfunc::getTCAtypes AND dynaflex
Ismael BIDAU
bidau at ensci.com
Wed Jul 19 18:21:27 CEST 2006
I use dynaflex to change some flexforms.
In a backend module, I would like to see the modified TCA.
When I use t3lib_BEfunc::getTCAtypes, I see the TCA before it's modified
by dynaflex.
Is it possible to get the modifed TCA and how ?
I tried :
if (t3lib_extMgm::isLoaded('dynaflex')) {
// Load the configuration from a file
require_once(t3lib_extMgm::extPath('events') .'df_config.php');
// And start the dynaflex processing
require_once(t3lib_extMgm::extPath('dynaflex') .'class.dynaflex.php');
$dynaflex = t3lib_div::makeInstance('dynaflex');
$dynaflex->init($GLOBALS['TCA'], $dca);
// write back the modified TCA
$GLOBALS['TCA'] = $dynaflex->getDynamicTCA();
}
but I have an error :
Fatal error: Cannot create references to/from string offsets nor
overloaded objects in
/Users/ensci/Sites/www.ensci.com/typo3conf/ext/dynaflex/class.dynaflex.php
on line 257
Any help really appreciated.
Ismaël BIDAU
http://www.ensci.com
More information about the TYPO3-dev
mailing list