Documentation

FrontendPageWithObjectTrait uses trait:short

Table of Contents

Methods

getCurrentLocale()  : string
{@inheritdoc}
getObject()  : BaseModel|null
gets object to show
getRouteGroup()  : string|null
gets route group
getTemplateData()  : array<string|int, mixed>
{@inheritdoc}
getTranslations()  : array<string|int, mixed>
{@inheritdoc}
alterTemplateName()  : string
eventually alters template name
check2FA()  : bool
checks if 2FA is passed
checkCredentials()  : bool
checks user credentials
setObject()  : self
sets object to show

Methods

getCurrentLocale()

{@inheritdoc}

public getCurrentLocale() : string
Tags
throws
BasicException
DependencyException
NotFoundException
Return values
string

getRouteGroup()

gets route group

public static getRouteGroup() : string|null
Return values
string|null

getTemplateData()

{@inheritdoc}

public getTemplateData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTranslations()

{@inheritdoc}

public getTranslations() : array<string|int, mixed>
Tags
throws
BasicException
Return values
array<string|int, mixed>

alterTemplateName()

eventually alters template name

protected alterTemplateName(string $templateName) : string
Parameters
$templateName : string
Tags
throws
BasicException
DependencyException
NotFoundException
PhpfastcacheSimpleCacheException
Return values
string

check2FA()

checks if 2FA is passed

protected check2FA() : bool
Return values
bool

checkCredentials()

checks user credentials

protected checkCredentials() : bool
Tags
throws
BasicException
Return values
bool

        
On this page

Search results