You are here

public function HamlRenderer::renderClosingTag in Sassy 7

* Renders the closing tag of an element

4 calls to HamlRenderer::renderClosingTag()
HamlCompactRenderer::renderClosingTag in phamlp/haml/renderers/HamlCompactRenderer.php
* Renders the closing tag of an element
HamlCompressedRenderer::renderClosingTag in phamlp/haml/renderers/HamlCompressedRenderer.php
* Renders the closing tag of an element
HamlExpandedRenderer::renderClosingTag in phamlp/haml/renderers/HamlExpandedRenderer.php
* Renders the closing tag of an element
HamlNestedRenderer::renderClosingTag in phamlp/haml/renderers/HamlNestedRenderer.php
* Renders the closing tag of an element
4 methods override HamlRenderer::renderClosingTag()
HamlCompactRenderer::renderClosingTag in phamlp/haml/renderers/HamlCompactRenderer.php
* Renders the closing tag of an element
HamlCompressedRenderer::renderClosingTag in phamlp/haml/renderers/HamlCompressedRenderer.php
* Renders the closing tag of an element
HamlExpandedRenderer::renderClosingTag in phamlp/haml/renderers/HamlExpandedRenderer.php
* Renders the closing tag of an element
HamlNestedRenderer::renderClosingTag in phamlp/haml/renderers/HamlNestedRenderer.php
* Renders the closing tag of an element

File

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

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 renderClosingTag($node) {
  return $node->isSelfClosing ? '' : "</{$node->content}>";
}