Previous Page
fix()

Solar_Dir
name()

Next Page
tmp()

name()

static public string name ( string $file, int $up default 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.