Dotclear 2.25
Loading...
Searching...
No Matches
fileItem Class Reference

File item. More...

Public Member Functions

 __construct (string $file, ?string $root, ?string $root_url='')
 

Data Fields

 $file
 
 $basename
 
 $dir
 
 $file_url
 
 $dir_url
 
 $extension
 
 $relname
 
 $parent = false
 
 $type
 
 $type_prefix
 
 $mtime
 
 $size
 
 $mode
 
 $uid
 
 $gid
 
 $w
 
 $d
 
 $x
 
 $f
 
 $del
 

Detailed Description

File item.

File item class used by filemanager. In this class $file could be either a file or a directory.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $file,
?string  $root,
?string  $root_url = '' 
)

Constructor

Creates an instance of fileItem object.

Parameters
string$fileAbsolute file or directory path
string$rootFile root path
string$root_urlFile root URL

References $file, $root_url, files\getMimeType(), path\info(), files\isDeletable(), and path\real().

Field Documentation

◆ $file

$file

Referenced by __construct().

◆ $basename

$basename

◆ $dir

$dir

◆ $file_url

$file_url

◆ $dir_url

$dir_url

◆ $extension

$extension

◆ $relname

$relname

◆ $parent

$parent = false

◆ $type

$type

◆ $type_prefix

$type_prefix

◆ $mtime

$mtime

◆ $size

$size

◆ $mode

$mode

◆ $uid

$uid

◆ $gid

$gid

◆ $w

$w

◆ $d

$d

◆ $x

$x

◆ $f

$f

◆ $del

$del

The documentation for this class was generated from the following file: