![]() |
Tina4Stack
v1.0.1
The Tina4 Stack
|
Public Attributes | |
$redirectPath = "" | |
$responseScript = "" | |
![]() | |
$DEBUG = false | |
$arrayObjects = [] | |
$errors | |
$javascript = "<script> window.onclick = function() { var elements = document.getElementsByTagName('span'); for(var i = 0; i < elements.length; i++) {if ( elements[i].className === 'formError' ) {elements[i].style.display = 'none';} } } </script>" | |
Class AjaxResponseAction
The response action is used as part of the response telling the system what should happen
AjaxResponseAction::getRedirectPath | ( | ) |
Get the redirect path
AjaxResponseAction::getResponseScript | ( | ) |
Get the response script
AjaxResponseAction::setRedirectPath | ( | $path | ) |
Set the redirection path
$path | string Path to the new location the application must navigate |
AjaxResponseAction::setResponseScript | ( | $script | ) |
Set the response script
$script |
AjaxResponseAction::$redirectPath = "" |
AjaxResponseAction::$responseScript = "" |