public static function normalizeName($bbcodeName)
	{
		if ($bbcodeName === '*')
		{
			return '*';
		}

		if (!TagName::isValid($bbcodeName))
		{
			throw new InvalidArgumentException("Invalid BBCode name '" . $bbcodeName . "'");
		}

		return TagName::normalize($bbcodeName);
	}
public static function normalizeName($bbcodeName)
	{
		if ($bbcodeName === '*')
		{
			return '*';
		}

		if (!TagName::isValid($bbcodeName))
		{
			throw new InvalidArgumentException("Invalid BBCode name '" . $bbcodeName . "'");
		}

		return TagName::normalize($bbcodeName);
	}
public static function normalizeName ( $ bbcodeName ) { if ( $ bbcodeName === '*' ) { return '*' ; } if ( ! TagName :: isValid ( $ bbcodeName ) ) { throw new InvalidArgumentException ( "Invalid BBCode name '" . $ bbcodeName . "'" ) ; } return TagName :: normalize ( $ bbcodeName ) ; }
Normalize the name of a BBCode

Follows the same rules as tag names with one exception: "*" is kept for compatibility with
other BBCode engines

@param  string $bbcodeName Original name
@return string             Normalized name
Normalize the name of a BBCode