Documentation

Atom
in package

Class Atom

Tags
author

Timonix timonix@timonix.pl

version
2.0

Table of Contents

Constants

EVENT_AFTER_REQUEST  : mixed = 'afterRequest'
EVENT_BEFORE_REQUEST  : mixed = 'beforeRequest'

Properties

$about  : array<string|int, mixed>
$account  : Account
$app  : Atom
$botDetector  : BotDetector
$browserDetector  : BrowserDetector
$config  : Config
$connectionInformation  : ConnectionInformation
$connectionIpId  : int
$controller  : Controller|null
$currentServerData  : array<string|int, mixed>
$datetime  : DateTime
$db  : Database
$dom  : Dom
$fileSystem  : FileSystem
$head  : Head
$headTag  : string
$layout  : string
$log  : T4LOG
$logEvent  : LogEvent
$request  : Request
$resourcesPath  : ResourcesPath
$response  : Response
$ROOT_DIR  : string
$ROOT_URI  : string
$router  : Router
$safetyDataStructureVariable  : SafetyDataStructureVariable
$scheme  : string
$serverDataVariable  : ServerDataVariable
$session  : Session
$shrink  : Shrink
$user  : UserModel|null
$userClass  : string
$view  : View
$webManifest  : WebAppManifest
$webResourcesPath  : WebResourcesPath
$eventListeners  : array<string|int, mixed>
$cacheAtom  : CacheWrapper

Methods

__construct()  : mixed
on()  : mixed
run()  : mixed
triggerEvent()  : mixed

Constants

EVENT_AFTER_REQUEST

public mixed EVENT_AFTER_REQUEST = 'afterRequest'

EVENT_BEFORE_REQUEST

public mixed EVENT_BEFORE_REQUEST = 'beforeRequest'

Properties

$about

public static array<string|int, mixed> $about

$connectionIpId

public int $connectionIpId

$currentServerData

public array<string|int, mixed> $currentServerData

$headTag

public string $headTag

$layout

public string $layout = 'main'

$ROOT_DIR

public static string $ROOT_DIR

$ROOT_URI

public static string $ROOT_URI

$scheme

public string $scheme

$userClass

public string $userClass

$eventListeners

protected array<string|int, mixed> $eventListeners = []

Methods

__construct()

public __construct(string $rootDir) : mixed
Parameters
$rootDir : string

on()

public on(mixed $eventName, mixed $callback) : mixed
Parameters
$eventName : mixed
$callback : mixed

run()

public run() : mixed

triggerEvent()

public triggerEvent(mixed $eventName) : mixed
Parameters
$eventName : mixed
On this page

Search results