get host controller

This commit is contained in:
sbyrd 2020-11-29 16:04:45 -05:00
parent ccf654ce8a
commit fddb6969a3
2 changed files with 17 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.idea/

View File

@ -28,4 +28,20 @@ class image extends objectStructs
if (isset($vars['imageConfig']))
$this->config = new imageConfig($vars['imageConfig']);
}
public function getHostController()
{
if (isset($this->annotations->hostController))
return $this->annotations->hostController;
else
return false;
}
public function getClientController()
{
if (isset($this->annotations->clientController))
return $this->annotations->clientController;
else
return false;
}
}