[TYPO3-mvc] Extbase - external Class - autoloader
S.Korth
s.korth at dms-arts.com
Tue May 4 11:58:38 CEST 2010
Felix Oertel schrieb:
> Hi,
>
> Am 03.05.10 22:14, schrieb S.Korth:
>> But how do i change static attributes without using an Instance ?
>> For example => Tx_Myext_Domain_Model_Myclass::$attribute = xy;
>
> static classes don't have atrributes. to use member variables you have
> to initiate the class ... to store stuff in a static class you have to
> use globals.
>
> regards, foertel
Yeah,
i also was tired. But your right, i ment static members, not attributes:
The problem is, this doesnt work:
Tx_Myext_Domain_Model_Myclass::$static_member = xy
"Tx_Myext_Domain_Model_Myclass" is an unknown class. Same Problem as in
my first post. I can only use an instance but no static !??!
Here is my extension:
http://forge.typo3.org/repositories/browse/extension-fbgraph/trunk
More information about the TYPO3-project-typo3v4mvc
mailing list