HumHub Documentation (unofficial)

FileLoaderInterface extends LoaderInterface

File Loader interface.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Methods

load()  : array<string|int, FeatureNode>
Loads features from provided resource.
setBasePath()  : mixed
Sets base features path.
supports()  : bool
Checks if current loader supports provided resource.

Methods

load()

Loads features from provided resource.

public load(mixed $resource) : array<string|int, FeatureNode>
Parameters
$resource : mixed

Resource to load

Return values
array<string|int, FeatureNode>

setBasePath()

Sets base features path.

public setBasePath(string $path) : mixed
Parameters
$path : string

Base loader path

supports()

Checks if current loader supports provided resource.

public supports(mixed $resource) : bool
Parameters
$resource : mixed

Resource to load

Return values
bool

        
On this page

Search results