escaping utility methods

This commit is contained in:
Steffen Schröder committed 2014-05-09 18:42:27 +02:00
1 parent 3b47f0fd9a
commit 56108f0605
4 files changed
+35 -3

No files matched your search

+9
View File
@@ -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
*