escaping utility methods
This commit is contained in:
@ -70,6 +70,15 @@ class Map {
|
||||
$this->authorNick = $this->authorLogin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the escaped Map Name
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEscapedName() {
|
||||
return Formatter::escapeText($this->name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get's the gameType of the Current Map
|
||||
*
|
||||
|
Reference in New Issue
Block a user