public static function getCorrectControllerName($controller)
		{
			$controller = strtolower($controller);
			$controller = str_replace(array('-','.'),' ',$controller);
			$controller = ucwords($controller);
			$controller = str_replace(' ','',$controller);

			return $controller;
		}
public static function getCorrectControllerName($controller)
		{
			$controller = strtolower($controller);
			$controller = str_replace(array('-','.'),' ',$controller);
			$controller = ucwords($controller);
			$controller = str_replace(' ','',$controller);

			return $controller;
		}
public static function getCorrectControllerName ( $ controller ) { $ controller = strtolower ( $ controller ) ; $ controller = str_replace ( array ( '-' , '.' ) , ' ' , $ controller ) ; $ controller = ucwords ( $ controller ) ; $ controller = str_replace ( ' ' , '' , $ controller ) ; return $ controller ; }
Controller name normaliser

@param string $controller Controller name to normalise
@return string Normalised controller name
Controller name normaliser