new UBModel(cfg, modelCode)
Model (logical group of entities)
Arguments:
-
cfg
Properties
-
modelCode
(string)
Members
name: string
Model name as specified in application config
needInit: boolean
initModel.js
script is available in the public folder (should be injected by client)
needLocalize: boolean
locale-Lang.js
script is available in the public folder (should be injected by client)
order: number
An order of model initialization (as it is provided in server domain config)
moduleName
Module name for require
clientRequirePath: string
The path for retrieve a model public accessible files (using clientRequire endpoint)
realPublicPath: string
Server-side domain only - the full path to model public folder (if any)
initModel.js
script is available in the public folder (should be injected by client)
locale-Lang.js
script is available in the public folder (should be injected by client)
require