[TYPO3-50-general] Common namings for variables with path-content

Robert Lemke robert at typo3.org
Mon Jan 12 10:47:17 CET 2009


Hi Malte,

Am 12.01.2009 um 10:21 schrieb Malte Jansen:

> So for the class-part, would suggest:
>
> namespace F3\MyPackage\;
> class MyClass {}
>
> => "className" == MyClass
> => "class" == F3\MyPackage\MyClass  (PHP: __CLASS__)

currently $class in FLOW3 means ReflectionClass($className), $method  
means ReflectionMethod($methodName) etc.
Strictly speaking, __CLASS__ should be $fullQualifiedClassName - but  
maybe we find a better name?

Cheers,
robert


More information about the TYPO3-project-5_0-general mailing list