aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-01-21 10:55:44 +0100
committerThomas Lange <code@nerdmind.de>2018-01-21 10:55:44 +0100
commitad58f8bbc662e6714740163de3794b8e36b11cfc (patch)
tree631adcd0796fbce9afb1e20a7472165b050f8f24
parent313b4fbe8d2057e6672e0ea479753c5710e85404 (diff)
downloadbigpipe-ad58f8bbc662e6714740163de3794b8e36b11cfc.tar.gz
bigpipe-ad58f8bbc662e6714740163de3794b8e36b11cfc.tar.xz
bigpipe-ad58f8bbc662e6714740163de3794b8e36b11cfc.zip
Rename BigPipe::render() to BigPipe::completeResponse()
-rw-r--r--async.php2
-rw-r--r--include/classes/BigPipe/BigPipe.php2
-rw-r--r--index.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/async.php b/async.php
index bb538e0..3509d01 100644
--- a/async.php
+++ b/async.php
@@ -121,7 +121,7 @@ if(isAsyncRequest()) {
echo '<script>Application.placeholderHTML('.json_encode($BUFFER).');</script>'."\n\n";
}
-BigPipe\BigPipe::render();
+BigPipe\BigPipe::completeResponse();
?>
</body>
</html> \ No newline at end of file
diff --git a/include/classes/BigPipe/BigPipe.php b/include/classes/BigPipe/BigPipe.php
index b94a6ae..9bb9fcb 100644
--- a/include/classes/BigPipe/BigPipe.php
+++ b/include/classes/BigPipe/BigPipe.php
@@ -64,7 +64,7 @@ class BigPipe {
#===============================================================================
# Renders all remaining pagelets from the queue in the appropriate order
#===============================================================================
- public static function render() {
+ public static function completeResponse() {
self::flushOutputBuffer();
$pagelets_ordered = [];
diff --git a/index.php b/index.php
index 5c7fb74..fb2aac6 100644
--- a/index.php
+++ b/index.php
@@ -58,7 +58,7 @@ echo $PageletGreen;
<footer><strong>The footer of the page.</strong></footer>
<?php
-BigPipe\BigPipe::render();
+BigPipe\BigPipe::completeResponse();
?>
</body>
</html> \ No newline at end of file