/** * Retrieve a list of Reports info based on provided IDs. Override from v2 * * @param String $session -- Session ID returned by a previous call to login. * @param Array $ids -- An array of Report IDs. * @param Array $select_fields -- A list of the fields to be included in the results. This optional parameter allows for only needed fields to be retrieved. * @return Array 'field_list' -- Array of Var def information about the returned fields * 'entry_list' -- Array of the records that were retrieved * @exception 'SoapFault' -- The SOAP error, if any */ public function get_report_entries($session, $ids, $select_fields) { $result = parent::get_report_entries($session, $ids, $select_fields); $outputList = array(); $fieldList = array(); $resultOutputList = $result['entry_list']; $resultFieldList = $result['field_list']; foreach ($resultOutputList as $list) { $outputList[]['entry_list'] = $list; } foreach ($resultFieldList as $list) { $fieldList[]['field_list'] = $list; } return array('field_list' => $fieldList, 'entry_list' => $outputList); }