CustomVariable: Fix some mistakes

This commit is contained in:
Alexander Fuhr 2015-06-11 10:39:12 +02:00
parent 8669d4be38
commit 26e4d4ff0e
4 changed files with 15 additions and 2 deletions

View File

@ -12,4 +12,10 @@ class CustomVariableArray extends CustomVariable
return $var->getValue() === $this->getValue();
}
public function toConfigString()
{
// TODO: Implement toConfigString() method.
}
}

View File

@ -2,6 +2,8 @@
namespace Icinga\Module\Director\CustomVariable;
use Countable;
class CustomVariableDictionary extends CustomVariable implements Countable
{
public function equals(CustomVariable $var)
@ -48,4 +50,9 @@ class CustomVariableDictionary extends CustomVariable implements Countable
{
// ...
}
public function toConfigString()
{
// TODO: Implement toConfigString() method.
}
}

View File

@ -15,7 +15,7 @@ class CustomVariableString extends CustomVariable
{
return c::renderKeyValue(
c::escapeIfReserved($this->getKey()),
c::renderString($this->getValue()
c::renderString($this->getValue())
);
}
}

View File

@ -38,7 +38,7 @@ class CustomVariables
public function hasBeenModified()
{
return $this->modifiec
return $this->modifiec;
}
public function setUnmodified()