renderCustomVars: Add todo about escaping of reserved words

This commit is contained in:
Alexander Fuhr 2015-06-10 15:40:45 +02:00
parent 84cb2c417e
commit ff6ed55c4b
1 changed files with 6 additions and 0 deletions

View File

@ -110,6 +110,12 @@ abstract class IcingaObject extends DbObject
return "}\n";
}
/**
* TODO: take care for reserved words, because we need them escaped
* http://docs.icinga.org/icinga2/snapshot/doc/module/icinga2/chapter/language-reference#reserved-keywords
*
* @return string
*/
protected function renderCustomVars()
{
if ($this->supportsCustomVars()) {