mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
DirectorObjectForm: new helper method hasObject()
This commit is contained in:
parent
f90f70894a
commit
b7cd26b597
@ -454,6 +454,11 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
return $this->object;
|
return $this->object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function hasObject()
|
||||||
|
{
|
||||||
|
return $this->object !== null;
|
||||||
|
}
|
||||||
|
|
||||||
public function setObject(IcingaObject $object)
|
public function setObject(IcingaObject $object)
|
||||||
{
|
{
|
||||||
$this->object = $object;
|
$this->object = $object;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user