[TYPO3-mvc] Configure addRecordTypeConstraint?

Georg Ringer typo3 at ringerge.org
Sat Nov 12 11:03:13 CET 2011


Hi,

got it working. still i would love to turn it off too

works with

------------------------
	persistence {
		classes {
			Tx_News_Domain_Model_News {
				subclasses {
					0 = Tx_News_Domain_Model_News
					1 = Tx_News_Domain_Model_NewsExternal
					2 = Tx_News_Domain_Model_NewsInternal
				}
			}

			Tx_News_Domain_Model_NewsExternal {
				mapping {
					recordType = 1
					tableName = tx_news_domain_model_news
				}
			}

			Tx_News_Domain_Model_NewsInternal {
				mapping {
					recordType = 2
					tableName = tx_news_domain_model_news
				}
			}
		}
	}
---------------------

georg


More information about the TYPO3-project-typo3v4mvc mailing list