protected function getCurrentNode()
{
$currentNode = isset($this->variables['value']) ? $this->variables['value'] : null;
if (!$currentNode instanceof Node) {
throw new Exception('TypoScriptView needs a variable \'value\' set with a Node object.', 1329736456);
}
return $currentNode;
}