void AppendScripts(
$scriptKey, string
$scripts, [boolean
$isFile = true]
)
|
|
Append more scripts - js include, js code
Parameters:
|
|
$scriptKey: |
|
|
string |
$scripts: |
|
|
boolean |
$isFile: |
|
API Tags:
void AppendStyles(
$scriptKey, string
$styles, [boolean
$isFile = true]
)
|
|
Append more styles - include and sections
Parameters:
|
|
$scriptKey: |
|
|
string |
$styles: |
|
|
boolean |
$isFile: |
|
API Tags:
Close popup window
API Tags:
string GetAppendedScripts(
)
|
|
Get append scripts
API Tags:
string GetAppendedStyles(
)
|
|
Get appended styles
API Tags:
array GetFormInputs(
[string
$ctrlName = null], [boolean
$toString = TRUE]
)
|
|
Get form all inputs or one input if ctrlName is given
Parameters:
|
string |
$ctrlName: |
|
|
boolean |
$toString: |
- Convert array oriented form controls to string |
API Tags:
| Return: | or string |
| Access: | public |
string GetFormOutput(
string
$formName
)
|
|
Get form output.
Parameters:
API Tags:
| Return: | HTML output of form |
| Access: | public |
string GetRequestParam(
string
$name
)
|
|
Get request parameter
Get the client form data passed by GET or POST
Parameters:
API Tags:
boolean HasFormRerendered(
string
$formName
)
|
|
Check has form rendered?
Form has rendered if _formsOutput[$formName] exist. See ReDrawForm method.
Parameters:
API Tags:
| Return: | true if form rendered (formName exist on _formsOutput) |
| Access: | public |
boolean HasOtherOutput(
)
|
|
Check has other output?
API Tags:
| Return: | true if has other output |
| Access: | public |
Check has output (other output and/or forms output)
API Tags:
| Return: | true if has output |
| Access: | public |
void IncludeCalendarScripts(
)
|
|
Include calendar scripts
API Tags:
void IncludeCKEditorScripts(
)
|
|
Include CKEditor scripts
API Tags:
void IncludeModalScripts(
)
|
|
Include modal scripts
API Tags:
void IncludePropWindowScripts(
)
|
|
Include PropWindow scripts
API Tags:
void IncludeRTEScripts(
)
|
|
Include RTE scripts
API Tags:
void IncludeValidatorScripts(
)
|
|
Include validator scripts
API Tags:
void IncludeWindowScripts(
)
|
|
Include Window scripts
API Tags:
string RedirectPage(
string
$pageURL
)
|
|
Redirect page to the given url
Parameters:
API Tags:
| Return: | - encoded html string returns to browser, it'll be processed by client javascript. |
| Access: | public |
string RedirectView(
string
$view, [mixed
$rule = null]
)
|
|
Redirect page to the given view
Parameters:
API Tags:
| Return: | - encoded html string returns to browser, it'll be processed by client javascript. |
| Access: | public |
string ReDrawForm(
string
$formName, string
&$sHTML
)
|
|
Replace the form content with the provided html text
Parameters:
|
string |
$formName: |
- name of the html form on client |
|
string |
$sHTML: |
- html text to redraw the form |
API Tags:
| Return: | - encoded html string returns to browser, it'll be processed by client javascript. |
| Access: | public |
void RunClientScript(
string
$scriptStr
)
|
|
Run client script
Parameters:
API Tags:
void SetFormInputData(
string
$formdata
)
|
|
Set form input data.
Called by BizController to parse and save the client form data
Parameters:
API Tags:
void SetRPCFlag(
boolean
$flag
)
|
|
Set RPC flag.
Parameters:
API Tags:
string ShowClientAlert(
string
$alertText
)
|
|
Show popup an alert window on the client browser.
Parameters:
API Tags:
| Return: | - encoded html string returns to browser, it'll be processed by client javascript. |
| Access: | public |
void ShowErrorMessage(
char
$errMsg
)
|
|
Show error message.
If its a remote call, it uses javascript If it is not a remote call, it outputs to the page's html
Parameters:
API Tags:
void ShowErrorPopup(
string
$errMsg
)
|
|
Show error on popup window
Parameters:
|
string |
$errMsg: |
error message |
API Tags:
void ShowPopup(
string
$baseForm, string
$popupForm, [string
$ctrlName = ""]
)
|
|
Show popup window
Parameters:
|
string |
$baseForm: |
|
|
string |
$popupForm: |
|
|
string |
$ctrlName: |
|
API Tags:
void ShowPopupWindow(
string
$content, number
$w, number
$h
)
|
|
Show popup window
Parameters:
|
string |
$content: |
|
|
number |
$w: |
width of window |
|
number |
$h: |
height of window |
API Tags:
void UpdateClientElement(
string
$elementId, string
$content
)
|
|
Update client element
Parameters:
|
string |
$elementId: |
|
|
string |
$content: |
|
API Tags:
array UpdateFormElements(
string
$formName, array
&$recArr
)
|
|
Update the form elements/controls on the client UI
Parameters:
|
string |
$formName: |
- name of the html form on client |
|
array |
$recArr: |
- name/value pairs |
API Tags:
| Return: | or string |
| Access: | public |