get host controller
This commit is contained in:
parent
ccf654ce8a
commit
fddb6969a3
|
@ -0,0 +1 @@
|
|||
/.idea/
|
16
image.php
16
image.php
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue