[TYPO3-mvc] Best way to convert "tx_ext_domain_model_foo:1" into object?

Bastian Waidelich bastian at typo3.org
Tue Mar 13 20:25:42 CET 2012


Tim Schoch | GSTALTIG wrote:

Hi Tim,

> Bastian, do you see this as a good to go way or more a dirty route?

Depends on what exactly you're trying to achieve. But IIRC 
PersistenceManagerInterface::getObjectByIdentifier() is not part of the 
public API so at least it is dangerous to call it ;)
And usually you would want to use the "record_type" column in order to 
want to make use of Single Table Inheritance.

Best,

--
Bastian


More information about the TYPO3-project-typo3v4mvc mailing list