elFinderTestACL

example accessControl class

author

Dmitry (dio) Levashov

package

Default

Methods

make dotfiles not readable, not writable, hidden and locked

fsAccess(string $attr, string $path, mixed $data, \elFinderVolumeDriver $volume) : boolean
author

Dmitry (dio) Levashov

Arguments

$attr

string

attribute name (read|write|locked|hidden)

$path

string

file path. Attention! This is path relative to volume root directory started with directory separator.

$data

mixed

data which seted in 'accessControlData' elFinder option

$volume

\elFinderVolumeDriver

volume driver

Response

boolean