Package: System

Functions
config_settings() SmartFactory

Short function for getting the instance of the ConfigSettingsManager.

dbshard() SmartFactory

Short function for requesting the dbworker connected to the specified shard.

debug_message() SmartFactory

Short function for writing debug messages to the log.

debugger() SmartFactory

Short function for getting the instance of the IDebugProfiler.

event() SmartFactory

Short function for getting the instance of the IEventManager.

messenger() SmartFactory

Short function for getting the instance of the IMessageManager.

randomDBShard() SmartFactory

Short function for requesting the dbworker connected to the specified shard, that is chosen randomly for load balancing reason.

runtime_settings() SmartFactory

Short function for getting the instance of the RuntimeSettingsManager.

text() SmartFactory

Short function that provides the text translation for the text ID for the given language.

user_settings() SmartFactory

Short function for getting the instance of the UserSettingsManager.

Interfaces
IDebugProfiler SmartFactory\Interfaces

Interface for debugging, tracing and profiling.

IErrorHandler SmartFactory\Interfaces

Interface for error handling.

IEventManager SmartFactory\Interfaces

Interface for event management.

IInitable SmartFactory\Interfaces

Interface for universal standard way of the object initialization through the array of parameters.

ILanguageManager SmartFactory\Interfaces

Interface for localization support.

IMessageManager SmartFactory\Interfaces

Interface for working with messages.

IRequestHandler SmartFactory\Interfaces

Interface for handling the API requests.

ISettingsManager SmartFactory\Interfaces

Interface for working with settings.

ISettingsValidator SmartFactory\Interfaces

Interface for settings validation.

Classes
ConfigSettingsManager SmartFactory

Class for management of the config settings stored in a config JSON file.

DebugProfiler SmartFactory

Class for debugging, tracing and profiling.

ErrorHandler SmartFactory

Class for error handling.

EventManager SmartFactory

Class for event management.

JsonRequestHandler SmartFactory

Class for handling the JSON API requests.

LanguageManager SmartFactory

Class for working with localization of texts.

MessageManager SmartFactory

Class for working with messages - errors, warnings etc.

RequestHandler SmartFactory

Abstract class for handling the JSON and XML requests.

RuntimeSettingsManager SmartFactory

Class for management of the application settings.

SmartException SmartFactory

Class for extended exception used in the SmartFactory library.

SmartExceptionCollection SmartFactory

Class for extended exception collection used in the SmartFactory library. It allows to collect many errors and report them at once.

UserSettingsManager SmartFactory

Class for management of the user settings.

XmlRequestHandler SmartFactory

Class for handling the XML API requests.