You are here

public function HamlNode::render in Sassy 7

7 methods override HamlNode::render()
HamlCodeBlockNode::render in phamlp/haml/tree/HamlCodeBlockNode.php
HamlCommentNode::render in phamlp/haml/tree/HamlCommentNode.php
HamlDoctypeNode::render in phamlp/haml/tree/HamlDoctypeNode.php
* Render this node. *
HamlElementNode::render in phamlp/haml/tree/HamlElementNode.php
HamlFilterNode::render in phamlp/haml/tree/HamlFilterNode.php
* Render this node. * The filter is run on the content of child nodes before being returned. *

... See full list

File

phamlp/haml/tree/HamlNode.php, line 226

Class

HamlNode
HamlNode class. Base class for all Haml nodes. @package PHamlP @subpackage Haml.tree

Code

public function render() {
  $output = $this->renderer
    ->renderContent($this);
  foreach ($this->children as $child) {
    $output .= $child
      ->render();
  }

  // foreach
  return $this
    ->debug($output);
}