Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Adjust to the latest changes in Neos 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mficzel authored Jan 27, 2017
1 parent e64a0fd commit 7132cf6
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ class ComponentImplementation extends ArrayImplementation
*/
public function evaluate()
{
$sortedChildFusionKeys = $this->sortNestedTypoScriptKeys();
$sortedChildFusionKeys = $this->sortNestedFusionKeys();

$props = [];
foreach ($sortedChildFusionKeys as $key) {
try {
$props[$key] = $this->tsValue($key);
$props[$key] = $this->fusionValue($key);
} catch (\Exception $e) {
$props[$key] = $this->tsRuntime->handleRenderingException($this->path . '/' . $key, $e);
$props[$key] = $this->runtime->handleRenderingException($this->path . '/' . $key, $e);
}
}

$context = $this->tsRuntime->getCurrentContext();
$context = $this->runtime->getCurrentContext();
$context['props'] = $props;
$this->tsRuntime->pushContextArray($context);
$result = $this->tsRuntime->render($this->path . '/renderer');
$this->tsRuntime->popContext();
$this->runtime->pushContextArray($context);
$result = $this->runtime->render($this->path . '/renderer');
$this->runtime->popContext();

return $result;
}
Expand Down

0 comments on commit 7132cf6

Please sign in to comment.