Public Member Functions | |
hasFormRerendered ($formName) | |
getFormOutput ($formName) | |
hasOtherOutput () | |
hasOutput () | |
printOutput () | |
setRPCFlag ($flag) | |
getRequestParam ($name) | |
getFormInputs ($controlName=null, $toString=TRUE) | |
updateFormElements ($formName, $recArr, $rawData=false) | |
redrawForm ($formName, $sHTML) | |
showClientAlert ($alertText) | |
showErrorMessage ($errMsg, $flush=false) | |
showPopup ($baseForm, $popupForm, $ctrlName="") | |
closePopup () | |
showPopupWindow ($content, $w, $h) | |
updateClientElement ($elementId, $content) | |
runClientScript ($scriptStr) | |
runClientFunction ($scriptStr) | |
redirectPage ($pageURL) | |
redirectView ($view, $rule=null) | |
appendScripts ($scriptKey, $scripts, $isFile=true) | |
getAppendedScripts () | |
appendStyles ($scriptKey, $styles, $isFile=true) | |
getAppendedStyles ($comb=0) | |
includeCalendarScripts () | |
includeColorPickerScripts () | |
includeRTEScripts () | |
includeCKEditorScripts () | |
includePropWindowScripts () | |
includeValidatorScripts () | |
Protected Member Functions | |
printJSONOuput () | |
Protected Attributes | |
$m_RequestArgs | |
$m_FormInputArray = null | |
$m_bRPCFlag = false |
Definition at line 28 of file ClientProxy.php.
appendScripts | ( | $ | scriptKey, |
$ | scripts, | ||
$ | isFile = true |
||
) |
Append more scripts - js include, js code
mixed | $scriptKey | |
string | $scripts | |
boolean | $isFile |
Definition at line 491 of file ClientProxy.php.
appendStyles | ( | $ | scriptKey, |
$ | styles, | ||
$ | isFile = true |
||
) |
Append more styles - include and sections
<type> | $scriptKey | |
string | $styles | |
boolean | $isFile |
Definition at line 546 of file ClientProxy.php.
closePopup | ( | ) |
getAppendedScripts | ( | ) |
Get append scripts
Definition at line 510 of file ClientProxy.php.
getAppendedStyles | ( | $ | comb = 0 ) |
getFormInputs | ( | $ | controlName = null , |
$ | toString = TRUE |
||
) |
Get form all inputs or one input if controlName is given
string | $controlName | |
boolean | $toString | - Convert array oriented form controls to string? |
Definition at line 167 of file ClientProxy.php.
getFormOutput | ( | $ | formName ) |
Get form output.
string | $formName |
Definition at line 76 of file ClientProxy.php.
getRequestParam | ( | $ | name ) |
Get request parameter, get the client form data passed by GET or POST NOTE: NYU - not yet used
string | $name | name of parameter |
Definition at line 154 of file ClientProxy.php.
hasFormRerendered | ( | $ | formName ) |
Check has form rendered?
Form has rendered if _formsOutput[$formName] exist. See ReDrawForm method.
string | $formName |
Definition at line 65 of file ClientProxy.php.
hasOtherOutput | ( | ) |
Check has other output? NOTE: NYU - not yet used
Definition at line 87 of file ClientProxy.php.
hasOutput | ( | ) |
Check has output (other output and/or forms output)
Definition at line 97 of file ClientProxy.php.
includeCalendarScripts | ( | ) |
Include calendar scripts
Definition at line 603 of file ClientProxy.php.
includeCKEditorScripts | ( | ) |
Include CKEditor scripts
Definition at line 653 of file ClientProxy.php.
includeColorPickerScripts | ( | ) |
Include calendar scripts
Definition at line 622 of file ClientProxy.php.
includePropWindowScripts | ( | ) |
Include PropWindow scripts
Definition at line 668 of file ClientProxy.php.
includeRTEScripts | ( | ) |
Include RTE scripts
Definition at line 639 of file ClientProxy.php.
includeValidatorScripts | ( | ) |
Include validator scripts
Definition at line 683 of file ClientProxy.php.
printOutput | ( | ) |
Print output.
Definition at line 107 of file ClientProxy.php.
redirectPage | ( | $ | pageURL ) |
Redirect page to the given url. Encoded html string returns to browser, it'll be processed by client javascript. NOTE: NYU - not yet used
string | $pageURL |
Definition at line 450 of file ClientProxy.php.
redirectView | ( | $ | view, |
$ | rule = null |
||
) |
Redirect page to the given view. Encoded html string returns to browser, it'll be processed by client javascript.
string | $view | full name of view (with package) |
string | $rule |
Definition at line 472 of file ClientProxy.php.
redrawForm | ( | $ | formName, |
$ | sHTML | ||
) |
Replace the form content with the provided html text, encoded html string returns to browser, it'll be processed by client javascript.
string | $formName | - name of the html form on client |
string | $sHTML | - html text to redraw the form |
Definition at line 248 of file ClientProxy.php.
runClientScript | ( | $ | scriptStr ) |
Run client script
string | $scriptStr |
Definition at line 400 of file ClientProxy.php.
setRPCFlag | ( | $ | flag ) |
showClientAlert | ( | $ | alertText ) |
Show popup an alert window on the client browser. Encoded html string returns to browser, it'll be processed by client javascript.
string | $alertText |
Definition at line 263 of file ClientProxy.php.
showErrorMessage | ( | $ | errMsg, |
$ | flush = false |
||
) |
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
char | $errMsg |
Definition at line 279 of file ClientProxy.php.
showPopup | ( | $ | baseForm, |
$ | popupForm, | ||
$ | ctrlName = "" |
||
) |
Show popup window
string | $baseForm | |
string | $popupForm | |
string | $ctrlName |
Definition at line 306 of file ClientProxy.php.
showPopupWindow | ( | $ | content, |
$ | w, | ||
$ | h | ||
) |
Show popup window
string | $content | |
number | $w | width of window |
number | $h | height of window |
Definition at line 375 of file ClientProxy.php.
updateClientElement | ( | $ | elementId, |
$ | content | ||
) |
Update client element
string | $elementId | |
string | $content |
Definition at line 388 of file ClientProxy.php.
updateFormElements | ( | $ | formName, |
$ | recArr, | ||
$ | rawData = false |
||
) |
Update the form elements/controls on the client UI Return to client browser : array or string
string | $formName | - name of the html form on client |
array | $recArr | - name/value pairs |
Definition at line 221 of file ClientProxy.php.