add_to_list new Pixpulse_Client_Requ est item create add_to_list- coll

1
2
3
4
5
6
7
$add_to_list = new Pixpulse_Client_Request('item', 'create');
$add_to_list->collection_id = $_REQUEST['friend_list'];
$add_to_list->title = 'Friend in list';
$add_to_list->collection_flag_a = 'friend_list';
$add_to_list->user_id = $_SESSION['Auth_User']['user_id'];
$add_to_list->friend_id = $friend_id ;
$client->addRequest($add_to_list);