com\setasign\SetaSite

SetaSite Class AbstractHttp

File: /SetaSite/src/SetaSite.php

Class hierarchy

Implements

Summary

Constants

APPLICATION_NAME

public const SetaSite::APPLICATION_NAME = 'SetaSite'

ROUTE_BACKEND

public const SetaSite::ROUTE_BACKEND = 'SetaSite-backendRoutes'

ROUTE_BACKEND_DEFAULT

public const SetaSite::ROUTE_BACKEND_DEFAULT = 'SetaSite-defaultBackendRoute'

ROUTE_BACKEND_LOGGED_IN

public const SetaSite::ROUTE_BACKEND_LOGGED_IN = 'SetaSite-backendLoggedInRoutes'

ROUTE_BACKEND_USER_WITHOUT_LOGIN

public const SetaSite::ROUTE_BACKEND_USER_WITHOUT_LOGIN = 'SetaSite-backendUserWithoutLogin'

ROUTE_DEFAULT_PAGE

public const SetaSite::ROUTE_DEFAULT_PAGE = 'SetaSite-defaultPageRoute'

ROUTE_GUI

public const SetaSite::ROUTE_GUI = 'SetaSite-guiRoute'

ROUTE_GUI_JS

public const SetaSite::ROUTE_GUI_JS = 'SetaSite-guiJSRoute'

ROUTE_GUI_JS_LOGGER

public const SetaSite::ROUTE_GUI_JS_LOGGER = 'SetaSite-guiJsLogger'

ROUTE_GUI_STARTPAGE

public const SetaSite::ROUTE_GUI_STARTPAGE = 'SetaSite-guiStartpageRoute'

ROUTE_INSTALLER

public const SetaSite::ROUTE_INSTALLER = 'SetaSite-installerRoute'

ROUTE_RESOURCE

public const SetaSite::ROUTE_RESOURCE = 'SetaSite-resourceRoute'

VERSION

public const SetaSite::VERSION = '2.7.3.2'

Properties

$name

The name of the application


Static Methods

getSystemLanguages()

public static SetaSite::getSystemLanguages (
void
): array

Methods

getApplicationDirectory()

protected SetaSite::getApplicationDirectory (
void
): string

Path to application dir, usally equal to DIR

getName()

Get the application name

getPageLanguage()

WARNING: This method is marked as deprecated!

Use PageSettings instead

public SetaSite::getPageLanguage (
void
): ?string

Returns the page language. Only available in backend and over the Frontend-PageController.

getPageLanguages()

WARNING: This method is marked as deprecated!

Use PageSettings instead

public SetaSite::getPageLanguages (
void
): array

Returns all registered page languages.

getRequestPathPrefix()

Return Values

If used in cli this will be null.

getViewDirectory()

Returns the view directory

getViewHelperNamespaces()

public SetaSite::getViewHelperNamespaces (
void
): array

setPageLanguage()

WARNING: This method is marked as deprecated!

Use PageSettings instead

public SetaSite::setPageLanguage (
string $language
): void

Sets the page language.

Parameters
$language: string
 

setupRoutes()

Setup Routes for the Application

Parameters
$router: \com\setasign\SetaFramework\Router\Router

The main Router-instance

Exceptions

Throws \com\setasign\SetaFramework\Router\RouteException

Throws \Throwable