Hi,
according to rcube_addressbook class there should be get_result method that returns last result set, so it's necessary to keep it in class variable "$this->result" and return it on that method call.
Take a look into program/include/rcube_addressbook.php, line 95.
Cheers,
Paul