public function getMembers($force = false)
    {
        if ($this->nb_user_group_member_list->isEmpty() || $force) {
            $this->nb_user_group_member_list->clear();
            if ($this->isValueNumeric('nb_user_group_id')) {
                $this->nb_user_group_member_list->merge(CNabuUserGroupMember::getMembersOfGroup($this));
            }
        }

        return $this->nb_user_group_member_list;
    }
public function getMembers($force = false)
    {
        if ($this->nb_user_group_member_list->isEmpty() || $force) {
            $this->nb_user_group_member_list->clear();
            if ($this->isValueNumeric('nb_user_group_id')) {
                $this->nb_user_group_member_list->merge(CNabuUserGroupMember::getMembersOfGroup($this));
            }
        }

        return $this->nb_user_group_member_list;
    }
public function getMembers ( $ force = false ) { if ( $ this -> nb_user_group_member_list -> isEmpty ( ) || $ force ) { $ this -> nb_user_group_member_list -> clear ( ) ; if ( $ this -> isValueNumeric ( 'nb_user_group_id' ) ) { $ this -> nb_user_group_member_list -> merge ( CNabuUserGroupMember :: getMembersOfGroup ( $ this ) ) ; } } return $ this -> nb_user_group_member_list ; }
Returns the full list of members in the group.
@param bool $force If true, then force to reload from database the full list.
@return CNabuUserGroupMemberList Return a list with members found.
Returns the full list of members in the group .