original_string: protected function read_mapping_data($data) {
          if ($data) {
              return array(
                  'parentidnumber' => $data->header0,
                  'idnumber' => $data->header1,
                  'shortname' => $data->header2,
                  'description' => $data->header3,
                  'descriptionformat' => $data->header4,
                  'scalevalues' => $data->header5,
                  'scaleconfiguration' => $data->header6,
                  'ruletype' => $data->header7,
                  'ruleoutcome' => $data->header8,
                  'ruleconfig' => $data->header9,
                  'relatedidnumbers' => $data->header10,
                  'exportid' => $data->header11,
                  'isframework' => $data->header12,
                  'taxonomies' => $data->header13
              );
          } else {
              return array(
                  'parentidnumber' => 0,
                  'idnumber' => 1,
                  'shortname' => 2,
                  'description' => 3,
                  'descriptionformat' => 4,
                  'scalevalues' => 5,
                  'scaleconfiguration' => 6,
                  'ruletype' => 7,
                  'ruleoutcome' => 8,
                  'ruleconfig' => 9,
                  'relatedidnumbers' => 10,
                  'exportid' => 11,
                  'isframework' => 12,
                  'taxonomies' => 13
              );
          }
      }
code: protected function read_mapping_data($data) {
          if ($data) {
              return array(
                  'parentidnumber' => $data->header0,
                  'idnumber' => $data->header1,
                  'shortname' => $data->header2,
                  'description' => $data->header3,
                  'descriptionformat' => $data->header4,
                  'scalevalues' => $data->header5,
                  'scaleconfiguration' => $data->header6,
                  'ruletype' => $data->header7,
                  'ruleoutcome' => $data->header8,
                  'ruleconfig' => $data->header9,
                  'relatedidnumbers' => $data->header10,
                  'exportid' => $data->header11,
                  'isframework' => $data->header12,
                  'taxonomies' => $data->header13
              );
          } else {
              return array(
                  'parentidnumber' => 0,
                  'idnumber' => 1,
                  'shortname' => 2,
                  'description' => 3,
                  'descriptionformat' => 4,
                  'scalevalues' => 5,
                  'scaleconfiguration' => 6,
                  'ruletype' => 7,
                  'ruleoutcome' => 8,
                  'ruleconfig' => 9,
                  'relatedidnumbers' => 10,
                  'exportid' => 11,
                  'isframework' => 12,
                  'taxonomies' => 13
              );
          }
      }
code_tokens: protected function read_mapping_data ( $ data ) { if ( $ data ) { return array ( 'parentidnumber' => $ data -> header0 , 'idnumber' => $ data -> header1 , 'shortname' => $ data -> header2 , 'description' => $ data -> header3 , 'descriptionformat' => $ data -> header4 , 'scalevalues' => $ data -> header5 , 'scaleconfiguration' => $ data -> header6 , 'ruletype' => $ data -> header7 , 'ruleoutcome' => $ data -> header8 , 'ruleconfig' => $ data -> header9 , 'relatedidnumbers' => $ data -> header10 , 'exportid' => $ data -> header11 , 'isframework' => $ data -> header12 , 'taxonomies' => $ data -> header13 ) ; } else { return array ( 'parentidnumber' => 0 , 'idnumber' => 1 , 'shortname' => 2 , 'description' => 3 , 'descriptionformat' => 4 , 'scalevalues' => 5 , 'scaleconfiguration' => 6 , 'ruletype' => 7 , 'ruleoutcome' => 8 , 'ruleconfig' => 9 , 'relatedidnumbers' => 10 , 'exportid' => 11 , 'isframework' => 12 , 'taxonomies' => 13 ) ; } }
docstring: Read the data from the mapping form.
  @param array The mapping data.
docstring_tokens: Read the data from the mapping form .