[TYPO3-mvc] Difficult between config.tx_extbase.objects and config.tx_extbase.persistence.classes

Stefan Kruse besucher80 at gmx.de
Wed Apr 23 17:43:32 CEST 2014


Hi mailinglist,

could somebody explain where the difficult is behind objects and
persistence.classes and when I have to use what?

config.tx_extbase{
	objects {
		Tx_In2snippets_Domain_Model_Code.className =
SK\In2snippetsextening\Domain\Model\Code
	}
    persistence{
        classes{
            Tx_In2snippets_Domain_Model_Code {
                subclasses {
                    Tx_In2snippetsextening_Code =
SK\In2snippetsextening\Domain\Model\Code
					
          		}
            }
            SK\In2snippetsextening\Domain\Model\Code {
                mapping {
                    tableName = tx_in2snippets_domain_model_code
                    recordType = Tx_In2snippetsextening_Code
                }
            }
            
    	}
    }
}

Thanks a lot for great helping.

Stefan



More information about the TYPO3-project-typo3v4mvc mailing list