Beispiel #1
0
 public function getMembers()
 {
     if ($this->members == array()) {
         $this->members = DinklyUserGroupCollection::getUsersByGroup($this->db, $this->getId());
     }
     return $this->members;
 }
Beispiel #2
0
 public function getGroups()
 {
     if ($this->groups == array()) {
         $this->groups = DinklyUserGroupCollection::getGroupsByUser($this->db, $this->getId());
     }
     return $this->groups;
 }