[Typo3-dev] singletons instead of pre-loaded objects

dan frost dan at danfrost.co.uk
Mon Aug 9 18:24:49 CEST 2004


>      return $realClassName::getInstance();

I always get syntax errors when calling functions in non-instantiated 
classes where the classname ($realClassName) is a variable. Is there a way?

dan




More information about the TYPO3-dev mailing list