Gets the name of the directory from a given path.
This method is usually accessed through drupal_dirname(), which wraps around the normal PHP dirname() function, which does not support stream wrappers.
string $uri: An optional URI.
string A string containing the directory name, or FALSE if not applicable.
public function dirname($uri = NULL);