EventsContainer
in package
Container for events.
This class should be inherited by the EventsContainer class in Colibri\App.
This container is used in the core, and in the application Colibri\App\EventsContainer.
Table of Contents
Constants
- AppInitializing = 'app.initializing'
- Start of application initialization.
- AppReady = 'app.ready'
- Triggered after the application initialization is complete.
- AssetsBlock = 'assets.block'
- Completion of block assets compilation.
- AssetsCompiled = 'assets.compiled'
- Completion of assets compilation.
- AssetsCompiling = 'assets.compiling'
- Start of assets compilation.
- BundleComplete = 'bundle.complete'
- Completion of bundle compilation.
- BundleFile = 'bundle.file'
- Completion of file compilation in the bundle.
- BundleStart = 'bundle.start'
- Start of bundle compilation.
- LogWriten = 'logger.writen'
- When something is written to the logger.
- ModuleManagerReady = 'modulemanager.ready'
- Triggered after all modules have been loaded.
- RequestReady = 'request.ready'
- When the Request object is ready.
- ResponseReady = 'response.ready'
- When the Response object is ready.
- RpcGotRequest = 'rpc.request'
- Received RPC request.
- RpcRequestError = 'rpc.error'
- RPC request error.
- RpcRequestProcessed = 'rpc.complete'
- Request processed.
- SecurityManagerReady = 'securitymanager.ready'
- Triggered after the SecurityManager has been initialized.
- TemplateRendered = 'template.rendered'
- Template has been rendered.
- TemplateRendering = 'template.rendering'
- Template is being rendered.
Constants
AppInitializing
Start of application initialization.
public
mixed
AppInitializing
= 'app.initializing'
No parameters.
AppReady
Triggered after the application initialization is complete.
public
mixed
AppReady
= 'app.ready'
No parameters.
AssetsBlock
Completion of block assets compilation.
public
mixed
AssetsBlock
= 'assets.block'
Parameters: string $type, string $name, string $content Used part of the result: string $content
AssetsCompiled
Completion of assets compilation.
public
mixed
AssetsCompiled
= 'assets.compiled'
Parameters: string $type, string $name, string $cacheUrl The result is not used.
AssetsCompiling
Start of assets compilation.
public
mixed
AssetsCompiling
= 'assets.compiling'
Parameters: string $type, string $name, string[] $blocks Used part of the result: string[] $blocks
BundleComplete
Completion of bundle compilation.
public
mixed
BundleComplete
= 'bundle.complete'
Parameters: string $content, string[] $exts Used part of the result: string $content
BundleFile
Completion of file compilation in the bundle.
public
mixed
BundleFile
= 'bundle.file'
Parameters: string $content, string $file Used part of the result: string $content
BundleStart
Start of bundle compilation.
public
mixed
BundleStart
= 'bundle.start'
Parameters: string[] $exts Used part of the result: string $content
LogWriten
When something is written to the logger.
public
mixed
LogWriten
= 'logger.writen'
Parameters: int $type = Logger::*, string $message, mixed $context The result is not used.
ModuleManagerReady
Triggered after all modules have been loaded.
public
mixed
ModuleManagerReady
= 'modulemanager.ready'
No parameters.
RequestReady
When the Request object is ready.
public
mixed
RequestReady
= 'request.ready'
No parameters.
ResponseReady
When the Response object is ready.
public
mixed
ResponseReady
= 'response.ready'
No parameters.
RpcGotRequest
Received RPC request.
public
mixed
RpcGotRequest
= 'rpc.request'
Parameters: string $class, string $method, stdClass $get, stdClass $post, stdClass $payload Result: boolean $cancel, stdClass $result
RpcRequestError
RPC request error.
public
mixed
RpcRequestError
= 'rpc.error'
Parameters: string $class, string $method, stdClass $get, stdClass $post, stdClass $payload, string $message Result: boolean $cancel, stdClass $result
RpcRequestProcessed
Request processed.
public
mixed
RpcRequestProcessed
= 'rpc.complete'
Parameters: mixed $object, string $method, stdClass $get, stdClass $post, stdClass $payload The result is not used.
SecurityManagerReady
Triggered after the SecurityManager has been initialized.
public
mixed
SecurityManagerReady
= 'securitymanager.ready'
No parameters.
TemplateRendered
Template has been rendered.
public
mixed
TemplateRendered
= 'template.rendered'
Parameters: Template $template, string $content The result is not used.
TemplateRendering
Template is being rendered.
public
mixed
TemplateRendering
= 'template.rendering'
Parameters: Template $template, ExtendedObject $args The result is not used.