|
Kartographer
Extension that adds maps to wiki pages
|
Validator and preprocessor for all arguments that can be used in <mapframe> and <maplink> tags. More...
Collaboration diagram for Kartographer\Tag\MapTagArgumentValidator:Public Member Functions | |
| __construct (string $tag, array $args, private readonly Config $config, private readonly Language $defaultLanguage, private readonly LanguageNameUtils $languageCodeValidator,) | |
| hasCoordinates () | |
| usesAutoPosition () | |
| getLanguageCodeWithDefaultFallback () | |
| setFirstMarkerProperties (?string $fallbackText, stdClass $properties) | |
| getTextWithFallback () | |
Validator and preprocessor for all arguments that can be used in <mapframe> and <maplink> tags.
As of now this class intentionally knows everything about both tags.
@license MIT
| Kartographer\Tag\MapTagArgumentValidator::__construct | ( | string | $tag, |
| array | $args, | ||
| private readonly Config | $config, | ||
| private readonly Language | $defaultLanguage, | ||
| private readonly LanguageNameUtils | $languageCodeValidator ) |
| string | $tag | Tag name, e.g. "maplink" |
| array<string,string> | $args | |
| Config | $config | |
| Language | $defaultLanguage | |
| LanguageNameUtils | $languageCodeValidator |
| Kartographer\Tag\MapTagArgumentValidator::hasCoordinates | ( | ) |
| Kartographer\Tag\MapTagArgumentValidator::usesAutoPosition | ( | ) |