new plastic.modules.Module(pEl, type, name)
modules/Module.js, line 14
This is a plastic Module Wrapper
This Class instanciates the specific Module (factory pattern) It also provides a thin wrapper around it (facade pattern) The Module Object also handles common module tasks like validation
Name | Type | Description |
---|---|---|
pEl |
plastic.Element |
plastic.Element |
type |
string |
Module Type |
name |
string |
Module Name |
Members
-
infoObject
-
Module Infos (like className, Dependencies, etc.)
-
moduleObject
-
Specific Module Instance
-
namestring
-
Module Name
-
plastic Element
-
typestring
-
Module Type
Methods
-
execute()
modules/Module.js, line 85 -
Executes the module and stores the return values accordingly
Validates the data against the module before executing it
-
update()
modules/Module.js, line 172 -
Calls the Module Update function (if available)
-
validate()
modules/Module.js, line 108 -
General Module Validation
This calls all available validation Schemas and Function of the module