You are here

public function HamlNode::hasParent in Sassy 7

* Return a value indicating if this node has a parent *

Return value

array the node's parent

File

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

Class

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

Code

public function hasParent() {
  return !empty($this->parent);
}