public function canonical($module)
	{
		$module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module);
		if (substr($module, 0, strlen('mod_')) != 'mod_')
		{
			$module = 'mod_' . $module;
		}
		return $module;
	}
public function canonical($module)
	{
		$module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module);
		if (substr($module, 0, strlen('mod_')) != 'mod_')
		{
			$module = 'mod_' . $module;
		}
		return $module;
	}
public function canonical ( $ module ) { $ module = preg_replace ( '/[^A-Z0-9_\.-]/i' , '' , $ module ) ; if ( substr ( $ module , 0 , strlen ( 'mod_' ) ) != 'mod_' ) { $ module = 'mod_' . $ module ; } return $ module ; }
Make sure module name follows naming conventions

@param   string  $module  The element value for the extension
@return  string
Make sure module name follows naming conventions