[TYPO3-mvc] [Extbase] override type definition

Claus Fassing claus at fassing.eu
Sun Sep 5 20:26:22 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

there are a field in my model class whose type is only known at runtime.
How can I override the type definition, or set the definition at runtime ?
I tried to use 'Object' as annotation, but this throw an error.
Then I tried to use an interface, but Extbase throw the Exception
"Could not find class definition"
Is it possible at all to plug in a dynamic model object in the aggregate
root class ?


Background is, I will plug in a part of the model at runtime in
dependence by configuration setting.

Regards Claus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMg+DNAAoJELsIv+audObfl6YIAKsGuA1SiFbJuGmyF3qToxWy
5xqDjEUxBl4S4zeL87pOdPpDOLKRH9Ye74uYqYo44Sh+0k4BGPhpy2e2NK3KLz5o
Dz7cTxeP/9+TuF3KOl8fkICMDwl1zitSiRUWjCHf9IQHMODaBQeaIS56dsuqKB8z
moj3GwkVNKFic7RIITfAZW36HBNwBGr3syxQ0V6r3twIUzuDj56qAXurLZOnBImI
YXCQ6AvbNZQDI9/0485d8BluE69tmuU9rJnsJsYqKbviboFWrvr0PUzu0TVUpgCp
xXxJ6eyEVLevu8+9xWvBqg9y9onBElxdtHGFLjnGe3CMbnYi+pDVtNFuUOKqsms=
=SR0I
-----END PGP SIGNATURE-----


More information about the TYPO3-project-typo3v4mvc mailing list