HumHub Documentation (unofficial)

LoaderInterface

Loader interface.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

Methods

load()  : array<string|int, FeatureNode>
Loads features from provided resource.
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>

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