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

Robert Lemke robert at typo3.org
Wed Jan 14 17:52:33 CET 2009


Hi Karsten,

Am 14.01.2009 um 17:35 schrieb Karsten Dambekalns:

> 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.

+1

So we end up with

  - $className (always full qualified)
  - $qualifiedClassName
  - $unqualifiedClassName

why not.

robert


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