Browse Source

Re-adding property removed by mistake

Jose Lorenzo Rodriguez 10 years ago
parent
commit
5cd7c21e0d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/View/ViewBlock.php

+ 8 - 0
src/View/ViewBlock.php

@@ -55,6 +55,14 @@ class ViewBlock
     protected $_active = [];
 
     /**
+     * Should the currently captured content be discarded on ViewBlock::end()
+     *
+     * @see ViewBlock::end()
+     * @var bool
+     */
+    protected $_discardActiveBufferOnEnd = false;
+
+    /**
      * Start capturing output for a 'block'
      *
      * Blocks allow you to create slots or blocks of dynamic content in the layout.