where('host_name', $this->host_name); } public function populate() { $this->fetchComments() ->fetchHostgroups() ->fetchContacts() ->fetchContactGroups() ->fetchCustomvars() ->fetchDowntimes(); } protected function getProperties() { $this->view = HostStatus::fromRequest($this->getRequest()); return $this->view->getQuery()->fetchRow(); } }