public function MediaReadOnlyStreamWrapper::dirname in D7 Media 7
Same name and namespace in other branches
- 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::dirname()
- 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::dirname()
- 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::dirname()
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.
Parameters
$uri: An optional URI.
Return value
A string containing the directory name, or FALSE if not applicable.
Overrides DrupalStreamWrapperInterface::dirname
See also
File
- includes/
MediaReadOnlyStreamWrapper.inc, line 490
Class
- MediaReadOnlyStreamWrapper
- A base class for Resource Stream Wrappers.
Code
public function dirname($uri = NULL) {
return FALSE;
}