[TYPO3-mvc] Various object types depending on the "type" field

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue Feb 22 15:28:51 CET 2011


Hi!

Sebastian Kurfürst wrote:
> 3) Tell the concrete class to be loaded from a different table
> (tableName=...), and to be of a certain recordType -- this is the value
> which is expected in the "type"-Field.

Thanks for the answer!

Taking, for example, tt_content table: if I use CType as a type field, how 
do I configure to use Tx_Ext_Domain_Model_Text and Tx_Ext_Domain_Model_Html 
for CType=text and CType=html respectively?

-- 
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/


More information about the TYPO3-project-typo3v4mvc mailing list