[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
Installer's AJAX frontend handler
File Size: | 615 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
createXhrObject() X-Ref |
Creates an XHR object jQuery cannot be used as the response is streamed, and as of now, jQuery does not provide access to the response until the connection is not closed. return: XMLHttpRequest |
addMessage(type, messages) X-Ref |
Displays error, warning and log messages param: type param: messages |
addDownloadBox(downloadArray) X-Ref |
Render a download box |
addUpdateFileStatus(fileStatus) X-Ref |
Render update files' status |
addForm(formHtml) X-Ref |
Displays a form from the response param: formHtml |
updateNavbarStatus(navObj) X-Ref |
Handles navigation status updates param: navObj |
setProgress(progressObject) X-Ref |
Renders progress bar param: progressObject |
setCookies(cookies) X-Ref |
No description |
redirect(url, use_ajax) X-Ref |
No description |
parseMessage(messageJSON) X-Ref |
Parse messages from the response object param: messageJSON |
processTimeoutResponse(status) X-Ref |
Processes status data param: status |
queryInstallerStatus() X-Ref |
Queries the installer's status |
pollContent(xhReq) X-Ref |
Process updates in streamed response param: xhReq XHR object |
incrementFiller($progressText, $progressFiller, $progressFillerText, progressLimit) X-Ref |
Animates the progress bar param: $progressText param: $progressFiller param: $progressFillerText param: progressLimit |
incrementProgressBar(progressLimit) X-Ref |
Wrapper function for progress bar rendering and animating param: progressLimit |
resetPolling() X-Ref |
Resets the polling timer |
startPolling(xhReq) X-Ref |
Sets up timer for processing the streamed HTTP response param: xhReq |
doRefresh() X-Ref |
Refresh page |
setupAjaxLayout() X-Ref |
Renders the AJAX UI layout |
submitForm($form, $submitBtn) X-Ref |
No description |
getFormFields($form, $submitBtn) X-Ref |
Add submit button to the POST information returns: {*} param: $form param: $submitBtn |
interceptFormSubmit($form) X-Ref |
Intercept form submit events and determine the submit button used param: $form |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |