You are here

public function HamlRenderer::renderEndCodeBlock in Sassy 7

* Renders the end of a code block

2 calls to HamlRenderer::renderEndCodeBlock()
HamlExpandedRenderer::renderEndCodeBlock in phamlp/haml/renderers/HamlExpandedRenderer.php
* Renders the end of a code block
HamlNestedRenderer::renderEndCodeBlock in phamlp/haml/renderers/HamlNestedRenderer.php
* Renders the end of a code block
2 methods override HamlRenderer::renderEndCodeBlock()
HamlExpandedRenderer::renderEndCodeBlock in phamlp/haml/renderers/HamlExpandedRenderer.php
* Renders the end of a code block
HamlNestedRenderer::renderEndCodeBlock in phamlp/haml/renderers/HamlNestedRenderer.php
* Renders the end of a code block

File

phamlp/haml/renderers/HamlRenderer.php, line 140

Class

HamlRenderer
HamlRenderer class. Provides the most common version of each method. Child classs override methods to provide style specific rendering. @package PHamlP @subpackage Haml.renderers

Code

public function renderEndCodeBlock($node) {
  return '<?php }' . (!empty($node->doWhile) ? " {$node->doWhile}" : '') . ' ?>';
}