You are here

private function HamlNode::setLevel in Sassy 7

* Sets the indent level of this node. * Used during rendering to give correct indentation. *

Parameters

integer the indent level of this node: * @return HamlNode this node

File

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

Class

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

Code

private function setLevel($level) {
  $this->token['level'] = $level;
  return $this;
}