Пример #1
0
 /**
  * Retrieve information about a caption field
  *
  * @param  caption_field $field
  *
  * @return array
  */
 private function list_record_caption_field(\caption_Field_Value $value, \caption_field $field)
 {
     return ['meta_id' => $value->getId(), 'meta_structure_id' => $field->get_meta_struct_id(), 'name' => $field->get_name(), 'labels' => ['fr' => $field->get_databox_field()->get_label('fr'), 'en' => $field->get_databox_field()->get_label('en'), 'de' => $field->get_databox_field()->get_label('de'), 'nl' => $field->get_databox_field()->get_label('nl')], 'value' => $value->getValue()];
 }