HumHub Documentation (unofficial)

AbstractLayers
in package
implements LayersInterface, ClassFactoryAwareInterface

AbstractYes

Table of Contents

Interfaces

LayersInterface
The layers interface.
ClassFactoryAwareInterface
An interface that classes that accepts a class factory should implement.

Properties

$classFactory  : ClassFactoryInterface|null

Methods

add()  : $this
Adds an image at the end of the layers stack.
get()  : ImageInterface
Returns the image at offset.
getClassFactory()  : ClassFactoryInterface
Get the class factory instance to be used.
has()  : bool
Returns true if a layer at offset is preset.
remove()  : $this
Removes the image at offset.
set()  : $this
Set an image at offset.
setClassFactory()  : $this
Set the class factory instance to be used.

Properties

Methods


        
On this page

Search results