Documentation

FlexObjectTrait uses trait:short

Trait FlexObjectTrait

Table of Contents

Methods

triggerEvent()  : $this
getContainer()  : Grav
getTemplate()  : Template|TemplateWrapper
getTemplatePaths()  : array<string|int, mixed>

Methods

triggerEvent()

public triggerEvent(string $name[, object|null $event = null ]) : $this
Parameters
$name : string
$event : object|null = null
Return values
$this

getTemplate()

protected getTemplate(string $layout) : Template|TemplateWrapper
Parameters
$layout : string
Tags
throws
LoaderError
throws
SyntaxError
Return values
Template|TemplateWrapper

getTemplatePaths()

protected abstract getTemplatePaths(string $layout) : array<string|int, mixed>
Parameters
$layout : string
Return values
array<string|int, mixed>

        
On this page

Search results