◆ constructor()
JavaScriptBuilderElement::constructor | ( | { objName='fod', protocol='', host='', endPoint='', enableCookies=true, minify=false } = {}
| ) |
inline
Constructor for JavaScriptBuilder.
- Parameters
-
- {object} - options options object
- {string} - options.objName the name of the client side object with the JavaScript properties in it
- {string} - options.protocol The protocol ("http" or "https") used by the client side callback url. This can be overriden with header.protocol evidence
- {string} - options.host The host of the client side callback url. This can be overriden with header.host evidence.
- {string} - options.endPoint The endpoint of the client side callback url
- {boolean} - options.enableCookies whether cookies should be enabled
- {boolean} - options.minify Whether to minify the JavaScript
◆ processInternal()
JavaScriptBuilderElement::processInternal ( flowData ) inlineInternal process function of the JavaScript builder Gets JSON from the JSONBundler and constructs JavaScript to place on the client side.
- Parameters
-
- {FlowData} - flowData to process
- Returns
- {undefined}