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

Karsten Dambekalns karsten at typo3.org
Wed Jan 14 17:35:35 CET 2009


Hi Malte & Robert.

On 14.01.2009 17:25 Uhr, Malte Jansen wrote:
> Ok, what about calling the "namespace + className":
> - globalClassName
> - absoluteClassName

A classname can be
* unqualified (Person)
* qualified (Staff\Person)
* fully qualified (\Management\Staff\Person)

Since PHP handles class names contained in strings *always* as fully 
qualified, $className is fine. Since a qualified classname is of rare 
use and an unqualified name doesn't help at all in 99% of the cases we 
can stick to that, IMHO.

Regards,
Karsten


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