public function getDisplayDirname()
    {
        $_dirname = $this->dirname;
        if (empty($_dirname)) $_dirname = basename($this->getPath());
        return ucwords( str_replace( '_', ' ', $_dirname ) );
    }
public function getDisplayDirname()
    {
        $_dirname = $this->dirname;
        if (empty($_dirname)) $_dirname = basename($this->getPath());
        return ucwords( str_replace( '_', ' ', $_dirname ) );
    }
public function getDisplayDirname ( ) { $ _dirname = $ this -> dirname ; if ( empty ( $ _dirname ) ) $ _dirname = basename ( $ this -> getPath ( ) ) ; return ucwords ( str_replace ( '_' , ' ' , $ _dirname ) ) ; }
Gets the directory name transformed to be displayed as a title

@return string The directory name transformed
Gets the directory name transformed to be displayed as a title