/**
  * Flatten
  *
  * @param InqOutcome $record
  */
 protected function format_radix(InqOutcome $record)
 {
     foreach ($this->fields as $fld) {
         if (is_string($fld) && preg_match('/^inq/', $fld)) {
             $record->mapValue($fld, $record->Inquiry->{$fld});
         }
     }
     return parent::format_radix($record);
 }
 /**
  * Flatten
  *
  * @param PrjOutcome $record
  */
 protected function format_radix(PrjOutcome $record)
 {
     // flatten project
     foreach ($this->fields as $fld) {
         if (is_string($fld) && preg_match('/^prj/', $fld)) {
             $record->mapValue($fld, $record->Project->{$fld});
         }
     }
     // project orgs
     $record->mapValue('ProjectOrg', $record->Project->ProjectOrg);
     return parent::format_radix($record);
 }
 /**
  * Flatten
  *
  * @param SrcOutcome $record
  */
 protected function format_radix(SrcOutcome $record)
 {
     foreach ($this->fields as $fld) {
         if (is_string($fld) && preg_match('/^src/', $fld)) {
             $record->mapValue($fld, $record->Source->{$fld});
         }
     }
     $record->mapValue('SrcEmail', $record->Source->SrcEmail);
     $record->mapValue('SrcPhoneNumber', $record->Source->SrcPhoneNumber);
     $record->mapValue('SrcMailAddress', $record->Source->SrcMailAddress);
     $record->mapValue('SrcOrg', $record->Source->SrcOrg);
     return parent::format_radix($record);
 }