Skip to content
Artem Khitsenko edited this page Jan 30, 2021 · 2 revisions

Class: Layout

Namespace: Afoslt\Core

Parent: -

Modifiers: abstract

Layout for websites based on MVC pattern powered by Afoslt core.


Methods

FileName (?string $layoutName): ?string

Modifiers: public static final

Get Layout file name.

Return path to file relative to layouts directory. Returns null if $layoutName was empty.

Exists (?string $layoutName): bool

Modifiers: public static final

Check if layout file exists.

Returns true if layout file exists, otherwise returns false.

Clone this wiki locally