Kartographer
Extension that adds maps to wiki pages
Loading...
Searching...
No Matches
Kartographer\Api\ApiSanitizeMapData Class Reference

This class implements action=sanitize-mapdata API, validating and sanitizing user-entered GeoJSON. More...

+ Inheritance diagram for Kartographer\Api\ApiSanitizeMapData:
+ Collaboration diagram for Kartographer\Api\ApiSanitizeMapData:

Public Member Functions

 __construct (ApiMain $main, $action, ParserFactory $parserFactory)
 
 execute ()
 @inheritDoc
 
 getAllowedParams ()
 @inheritDoc
 
 mustBePosted ()
 @inheritDoc
 
 isInternal ()
 Indicate that this API can change at any time.
 

Protected Member Functions

 getExamplesMessages ()
 @inheritDoc
 

Detailed Description

This class implements action=sanitize-mapdata API, validating and sanitizing user-entered GeoJSON.

@license MIT

Constructor & Destructor Documentation

◆ __construct()

Kartographer\Api\ApiSanitizeMapData::__construct ( ApiMain $main,
$action,
ParserFactory $parserFactory )
Parameters
ApiMain$main
string$action
ParserFactory$parserFactory

Member Function Documentation

◆ isInternal()

Kartographer\Api\ApiSanitizeMapData::isInternal ( )

Indicate that this API can change at any time.

Returns
bool

The documentation for this class was generated from the following file: