public function mapBasicField(array &$values, $field_name) {
    $item = $this->item;
    if (!empty($item[$field_name])) {
      $values[$field_name] = $item[$field_name];
    }
  }
public function mapBasicField(array &$values, $field_name) {
    $item = $this->item;
    if (!empty($item[$field_name])) {
      $values[$field_name] = $item[$field_name];
    }
  }
public function mapBasicField ( array & $ values , $ field_name ) { $ item = $ this -> item ; if ( ! empty ( $ item [ $ field_name ] ) ) { $ values [ $ field_name ] = $ item [ $ field_name ] ; } }
Maps a base field.

@param array $values
The values array which is imported.
@param string $field_name
The name of the field.
Maps a base field .