protected function endRenderBlock($blockName)
    {
        $contents = ob_get_contents();
        ob_end_clean();
        foreach ($this->plugins as $plugin) {
            $blockRenderList = $plugin->getBlockRenderList();
            if (in_array($blockName, $blockRenderList) === true) {
                echo $plugin->callBlockRenderEnd($blockName, $contents);
                return;
            }
        }
        echo $contents;
        throw new JigException("Block $blockName not known for ending block in plugins.");
    }
protected function endRenderBlock($blockName)
    {
        $contents = ob_get_contents();
        ob_end_clean();
        foreach ($this->plugins as $plugin) {
            $blockRenderList = $plugin->getBlockRenderList();
            if (in_array($blockName, $blockRenderList) === true) {
                echo $plugin->callBlockRenderEnd($blockName, $contents);
                return;
            }
        }
        echo $contents;
        throw new JigException("Block $blockName not known for ending block in plugins.");
    }
protected function endRenderBlock ( $ blockName ) { $ contents = ob_get_contents ( ) ; ob_end_clean ( ) ; foreach ( $ this -> plugins as $ plugin ) { $ blockRenderList = $ plugin -> getBlockRenderList ( ) ; if ( in_array ( $ blockName , $ blockRenderList ) === true ) { echo $ plugin -> callBlockRenderEnd ( $ blockName , $ contents ) ; return ; } } echo $ contents ; throw new JigException ( "Block $blockName not known for ending block in plugins." ) ; }
Called when a block is ended in a template.
@param $blockName
@throws JigException
Called when a block is ended in a template .