[TYPO3-50-general] Common namings for variables with path-content
Ingmar Schlecht
ingmar at typo3.org
Wed Jan 14 14:51:59 CET 2009
Hi Robert,
Robert Lemke wrote:
> I suggest the following wording:
>
> - "path"
>
> Usually an absolute path in special cases relative. A path leads to
> directories and files and is used as a prefix. It always ends with
> a trailing slash.
>
> Example:
> "/usr/local/foo/bar/" is the path leading to the file
> "/usr/local/foo/bar/baz.txt"
>
> To clearify the value, also "absolutePath" or "relativePath" can be
> used.
>
> - "directoryName"
>
> Name of a directory, without slashes.
>
> Example:
> "foo", "bar"
>
> - "fileName"
>
> Name of a file, including extension
>
> Example:
> "myCrazy_weird.file.txt"
I agree with all of your suggestions, but what's missing is a name for
"filename with path".
So how would you call "/path/to/the/file.php". Would it be a "filePath"?
cheers
Ingmar
--
Ingmar Schlecht
TYPO3 Core Developer
More information about the TYPO3-project-5_0-general
mailing list