[TYPO3-ect] mergeExtendingTCAs
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Mon Sep 4 01:19:18 CEST 2006
Hi Franz,
I hope I understand the problem. Here comes the information you demand:
tx_div::loadTcaAdditions($ext_keys);
/* loadTcaAdditions($ext_keys)
*
* Your extension may depend on fields that are added by other
* extensios. For reasons of performance parts of the TCA are only
* loaded on demand. To ensure that the extended TCA is loaded for
* the extensions you depend on, you apply these function.
*
* @param array extension keys of TCA additions to load
*/
hint{
In lib/div we treat acronyms (TCA, PHP) like normal words in
camelCase, to prevent long chains of uppercase and to have a clear
simple way to handle it all.
wrong: myPHPXMLParser();
right: myPhpXmlParser();
right: loadTcaAdditions();
}
Franz Holzinger wrote:
> Hello,
>
> I want to put the fh_library/lib/class.tx_fhlibrary_system.php into
> another extension. At the moment I need mergeExtendingTCAs for
> static_info_tables and do not want to make this dependant from fh_library.
> The problem is that the ext_tables.php of static_info_tables_de gets
> called. But when it comes to tx_staticinfotables_div::getTCAlabelField
> at line
> t3lib_div::loadTCA($table);
> then the language fields have disappeared.
> So I think I will need the function above to make it work. Where and
> under which names can I put them?
>
> Greets,
>
> Franz
More information about the TYPO3-team-extension-coordination
mailing list