search new Pixpulse_Client_Requ est user search search- community_id i

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
$search = new Pixpulse_Client_Request('user', 'search');
$search->community_id = (int)$this->user['community_id'];
$search->addAttribute('limit', 1);
// Add request
$this->_client->addRequest($search);
$response = $this->_client->request();
if (Pixpulse_Client::isError($response)) {
return array();
}
$data = (array)$response->user_search->toArray();
var_dump($data); exit;