*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
* @param $withForm Wether include the form tag
* @return $helperInstance A preparedf instance of this helper
*/
- public final static function createWebFormHelper (CompileableTemplate $templateInstance, $formName, $formId = false, $withForm = true) {
+ public static final function createWebFormHelper (CompileableTemplate $templateInstance, $formName, $formId = false, $withForm = true) {
// Get new instance
$helperInstance = new WebFormHelper();
*/
public function addCaptcha () {
// Init instance
- $extraInstance = null;
+ $extraInstance = NULL;
try {
// Get last executed pre filter
$extraInstance = Registry::getRegistry()->getInstance('extra');
} catch (NullPointerException $e) {
- // Instance in registry is not set (null)
+ // Instance in registry is not set (NULL)
// @TODO We need to log this later
}