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 5bbec2b commit ffd05ebCopy full SHA for ffd05eb
remoting_client/examples/mail_user_get.php
@@ -17,9 +17,13 @@
17
//* Set the function parameters.
18
$mailuser_id = 1;
19
20
- $app = $client->mail_user_get($session_id, $mailuser_id);
+ // Lookup by primary key, gets back a single record.
21
+ $mail_user = $client->mail_user_get($session_id, $mailuser_id);
22
+ print_r($mail_user);
23
- print_r($app);
24
+ // Lookup by pattern gives an array of records.
25
+ $mail_users_array = $client->mail_user_get($session_id, array('email' => '%@example.com'));
26
+ print_r($mail_user_array);
27
28
if($client->logout($session_id)) {
29
echo 'Logged out.<br />';
0 commit comments