diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..85e7c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ diff --git a/image.php b/image.php index 276a74d..43748e0 100644 --- a/image.php +++ b/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; + } } \ No newline at end of file