HumHub Documentation (unofficial)

FileDetector

Table of Contents

Methods

getLocalFile()  : null|string
Try to detect whether the given $file is a file or not. Return the path of the file. Otherwise, return null.

Methods

getLocalFile()

Try to detect whether the given $file is a file or not. Return the path of the file. Otherwise, return null.

public getLocalFile(string $file) : null|string
Parameters
$file : string
Return values
null|string

The path of the file.


        
On this page

Search results