We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc695c0 commit 20bd3c7Copy full SHA for 20bd3c7
lib/PHPLicengine/Service/Client.php
@@ -63,4 +63,18 @@ public function getClientByEmail ($email)
63
return $this->get($this->url . '/client/email/' . $email);
64
}
65
66
+ public function getClientsByUsergroup ($usergroup)
67
+ {
68
+ return $this->get($this->url . '/client/usergroup/' . intval($usergroup));
69
+ }
70
+
71
+ public function getClientsByStatus ($status)
72
73
+ $_status['pending'] = 0;
74
+ $_status['active'] = 1;
75
+ $_status['cancel'] = 2;
76
+ $_status['fraud'] = 3;
77
+ return $this->get($this->url . '/client/status/' . $_status[$status]);
78
79
80
0 commit comments