Jeedom Core

editor.connector.php

Table of Contents

Functions

access()  : bool|null
Simple function to demonstrate how to control file access using "accessControl" callback.

Functions

access()

Simple function to demonstrate how to control file access using "accessControl" callback.

access(string $attr, string $path, string $data, object $volume, bool|null $isDir, string $relpath) : bool|null

This method will disable accessing files/folders starting from '.' (dot)

Parameters
$attr : string

attribute name (read|write|locked|hidden)

$path : string

absolute file path

$data : string

value of volume option accessControlData

$volume : object

elFinder volume driver object

$isDir : bool|null

path is directory (true: directory, false: file, null: unknown)

$relpath : string

file path relative to volume root directory started with directory separator

Return values
bool|null

        
On this page

Search results