Solar_Dir::name()

static public string Solar_Dir::name ( string $file , int $up = 0 )

Convenience method for dirname() and higher-level directories.

Parameters

  • (string) $file: Get the dirname() of this file.

  • (int) $up: Move up in the directory structure this many times, default 0.

Returns

  • (string) The dirname() of the file.

Description

Convenience method for dirname() and higher-level directories.



Local