@@ 65-75 (lines=11) @@ | ||
62 | return $this->api->addDistributionListMember($listId, $users); |
|
63 | } |
|
64 | ||
65 | public function getDistributionListById($id) |
|
66 | { |
|
67 | $limit = 0; |
|
68 | $offset = 0; |
|
69 | $sortAscending = true; |
|
70 | $attr = $this->createKeyPair(); |
|
71 | ||
72 | $dl = new DistributionListSelector(DistributionListBy::ID(), $id); |
|
73 | ||
74 | return $this->api->getDistributionList($dl, $limit, $offset, $sortAscending, [$attr]); |
|
75 | } |
|
76 | ||
77 | public function getDistributionListByName($name) |
|
78 | { |
|
@@ 77-87 (lines=11) @@ | ||
74 | return $this->api->getDistributionList($dl, $limit, $offset, $sortAscending, [$attr]); |
|
75 | } |
|
76 | ||
77 | public function getDistributionListByName($name) |
|
78 | { |
|
79 | $limit = 0; |
|
80 | $offset = 0; |
|
81 | $sortAscending = true; |
|
82 | $attr = $this->createKeyPair(); |
|
83 | ||
84 | $dl = new DistributionListSelector(DistributionListBy::NAME(), $name); |
|
85 | ||
86 | return $this->api->getDistributionList($dl, $limit, $offset, $sortAscending, [$attr]); |
|
87 | } |
|
88 | ||
89 | public function getDistributionListMembership($distListName) |
|
90 | { |