Skip to content
Artem Khitsenko edited this page Jan 30, 2021 · 1 revision

Class: Model

Namespace: Afoslt\Core

Parent: -

Modifiers: abstract

Parent class for all models in Afoslt application.


Methods

ClassName (?string $modelShortName): ?string

Modifiers: public static final

Gets a short version of class and returns full name.

Retuns full name of model class.

Exists (?string $modelName): bool

Modifiers: public static final

Checks if model class exists.

Returns true if controller exists.