function getUsers($type) { if (isset($this->users[$type])) { return $this->users[$type]; } return array(); }