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