connector_zp.php
Table of Contents
Functions
- access() : bool|null
- Simple function to demonstrate how to control file access using "accessControl" callback.
- accessImage() : mixed
- accessAlbums() : mixed
Functions
access()
Simple function to demonstrate how to control file access using "accessControl" callback.
access(string $attr, string $path, mixed $data, mixed $volume) : bool|null
This method will disable accessing files/folders starting from '.' (dot)
Parameters
- $attr : string
-
attribute name (read|write|locked|hidden)
- $path : string
-
file path relative to volume root directory started with directory separator
- $data : mixed
- $volume : mixed
Return values
bool|nullaccessImage()
accessImage(mixed $attr, mixed $path, mixed $data, mixed $volume) : mixed
Parameters
- $attr : mixed
- $path : mixed
- $data : mixed
- $volume : mixed
accessAlbums()
accessAlbums(mixed $attr, mixed $path, mixed $data, mixed $volume) : mixed
Parameters
- $attr : mixed
- $path : mixed
- $data : mixed
- $volume : mixed