You are here

protected function D3ViewsDataMapping::map2DNAV in d3.js 7

1 call to D3ViewsDataMapping::map2DNAV()
D3ViewsDataMapping::map2DNNV in modules/d3_views/includes/D3ViewsDataMapping.inc

File

modules/d3_views/includes/D3ViewsDataMapping.inc, line 373

Class

D3ViewsDataMapping

Code

protected function map2DNAV($mapping, $row, &$output, $index) {
  $output[$index] = array();
  foreach ($mapping as $destination => $source) {
    if (!empty($source) && $source != '__none') {
      $output[$index][$destination] = $row[$source];
    }
  }
}