$file

Returns the object of the current file.

Table of Contents
  1. Description
  2. Example

Description

This variable is an instance of the File class.

Example

if (!isset($file) || !isset($file->name)) {
    return $_;
}

$_['title'] = $file->name(true);

$_

Returns the current control panel definition.

$file

Returns the object of the current file.

$folder

Returns the object of the current folder.

$page

Returns the object of the current page file.