[TYPO3-mvc] Extbase - external Class - autoloader

S.Korth s.korth at dms-arts.com
Mon May 3 22:14:07 CEST 2010


Felix Oertel schrieb:
> Hi
> 
> Am 03.05.10 21:48, schrieb S.Korth:
>> i know what you meant! I juste wrote the lines as example.
> my fault
> 
>> BUT -> that doesn't fix my problem.
>> Only this works for me:
>> $obj = t3lib_div::makeInstance('Tx_Myext_Domain_Model_MyClass');
> 
> i don't see a "problem" here ;)
> 
> regards, foertel

Hey ( i hope last post :-) )


OK, didn't know that inheret from 
"Tx_Extbase_DomainObject_AbstractEntity" is a bit different. I fall into 
a trap.


But how do i change static attributes without using an Instance ?
For example => Tx_Myext_Domain_Model_Myclass::$attribute = xy;

This doesn't work here because of the mentioned problems.


Greets & thanks so far,
Sascha



More information about the TYPO3-project-typo3v4mvc mailing list