1: <?php
2:
3: namespace SMSApi\Api\Action\Phonebook;
4:
5: /**
6: * Class GroupEdit
7: * @package SMSApi\Api\Action\Phonebook
8: */
9: class GroupEdit extends GroupAdd {
10:
11: /**
12: * @deprecated since 1.0.0
13: * @param string $groupName group name
14: * @return $this
15: */
16: public function setGroup( $groupName ) {
17: $this->params[ "edit_group" ] = $groupName;
18: return $this;
19: }
20:
21: /**
22: * Set edited group.
23: *
24: * @param string $groupName group name
25: * @return $this
26: */
27: public function filterByGroupName( $groupName ) {
28: $this->params[ "edit_group" ] = $groupName;
29: return $this;
30: }
31:
32: /**
33: * Set new group name.
34: *
35: * @param string $groupName new group name
36: * @return $this
37: */
38: public function setName( $groupName ) {
39: $this->params[ "name" ] = $groupName;
40: return $this;
41: }
42:
43: }
44: