name

Availability: >= 3.0

Type: Object Property

Description: Sets a custom friendly name for the directory. This does NOT change the actual name of the folder.

Syntax:

$dir->name string $name;

This is especially useful if you have created folders for each user and given the folders the name of the user's ID number or any other situation where the actual folder name may be a cryptic value.