You are here

public function HamlRootNode::render in Sassy 7

* Render this node. *

Return value

string the rendered node

Overrides HamlNode::render

File

phamlp/haml/tree/HamlRootNode.php, line 52

Class

HamlRootNode
HamlRootNode class. Also the root node of a document. @package PHamlP @subpackage Haml.tree

Code

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

  // foreach
  return $this->output;
}