yiiext/twig-renderer — Issue #6: compatibility with PHP 5.2
Author: matweew
Created: 2012-01-31 11:17:11+00:00
State: open

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ETwigViewRenderer.php on line 272
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in ETwigViewRenderer.php on line 277

working code:

public function __get($property)
{
eval('$returnedProperty = '.$this->_staticClassName.'::'.$property.';');
return $returnedProperty;
}

public function __set($property, $value)
{
eval('$returnedProperty = '.$this->_staticClassName.'::'.$property.';');
return ($returnedProperty = $value);
}