*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
// Set the new raw data
$this->setRawTemplateData($rawData);
-
} // END - if
-
} // END - foreach
}
// This template was never found. We silently ignore it
unset($this->rawTemplates[$key]);
}
- }
- }
+ } // END - foreach
+ } // END - if
}
/**
if (!class_exists($className)) {
// Abort here!
throw new ViewHelperNotFoundException(array($this, $helperName), self::EXCEPTION_INVALID_VIEW_HELPER);
- }
+ } // END - if
// Generate new instance
$eval = sprintf("\$this->helpers[%s] = %s::create%s();",
// Run the code
eval($eval);
- }
+ } // END - if
// Return the requested instance
return $this->helpers[$helperName];