- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
public function get($module, $fields, $options=null) {
$results = $this->get_with_related($module, array($module => $fields), $options);
$records = array();
if ($records) {
foreach ($results['entry_list'] as $entry) {
$record = array();
foreach ($entry['name_value_list'] as $field) {
$record[$field['name']] = $field['value'];
}
$records[] = $record;
}
}
return $records;
}
SugarCRM REST API Class https://github.com/asakusuma/SugarCRM-REST-API-Wrapper-Class/blob/master/sugar_rest.php
guest 30.08.2011 17:25 # 0
stark 30.08.2011 17:27 # 0
roman-kashitsyn 30.08.2011 17:33 # 0
Lure Of Chaos 30.08.2011 19:11 # 0
JeremyW 30.08.2011 19:18 # −2