* @param $stack Optional variable stack to look in
* @return $content Content of the variable or null if not found
*/
- protected function readVariable ($var, $stack = NULL) {
+ public function readVariable ($var, $stack = NULL) {
// First everything is not found
$content = NULL;
// Is this view helper loaded?
if (!isset($this->helpers[$helperName])) {
// Create a class name
- $className = "{$helperName}ViewHelper";
+ $className = $helperName . 'ViewHelper';
// Generate new instance
$this->helpers[$helperName] = ObjectFactory::createObjectByName($className);