1 stream_wrappers.inc public BackdropStreamWrapperInterface::dirname($uri = NULL)

Gets the name of the directory from a given path.

This method is usually accessed through backdrop_dirname(), which wraps around the normal PHP dirname() function, which does not support stream wrappers.

Parameters

$uri: An optional URI.

Return value

A string containing the directory name, or FALSE if not applicable.:

See also

backdrop_dirname()

File

core/includes/stream_wrappers.inc, line 218
Backdrop stream wrapper interface.

Class

BackdropStreamWrapperInterface
Backdrop stream wrapper extension.

Code

public function dirname($uri = NULL);