- Timestamp:
- 2008-06-17T13:14:23+12:00 (16 years ago)
- Location:
- gsdl/trunk/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/recpt/dynamicclassifieraction.cpp
r16028 r16032 151 151 // Parse the classifier options from the specification 152 152 text_t classifier_specification = cinfo->dynamic_classifiers[arg_dcl]; 153 text_tmap classifier_options; 154 155 // The metadata element to classify by should be left after all the options have been parsed off 156 classifier_options["metadata_element_name"] = classifier_specification; 157 classifier_options["current_position"] = args["dcn"]; 153 text_tmap classifier_options = parse_classifier_options (classifier_specification, args); 158 154 159 155 // Output the "<ID>Header" format statement if there is one … … 181 177 textout << outconvert << disp << "_dynamicclassifier:footer_\n"; 182 178 return true; 179 } 180 181 182 text_tmap dynamicclassifieraction::parse_classifier_options (text_t classifier_specification, cgiargsclass &args) 183 { 184 text_tmap classifier_options; 185 186 // The metadata element to classify by should be left after all the options have been parsed off 187 classifier_options["metadata_element_name"] = classifier_specification; 188 classifier_options["current_position"] = args["dcn"]; 189 190 return classifier_options; 183 191 } 184 192 -
gsdl/trunk/src/recpt/dynamicclassifieraction.h
r16007 r16032 63 63 ostream &logout); 64 64 65 text_tmap parse_classifier_options (text_t classifier_specification, cgiargsclass &args); 66 65 67 void output_top_level_page (text_tmap classifier_options, cgiargsclass &args, 66 68 recptproto *collectproto, browsermapclass *browsers,
Note:
See TracChangeset
for help on using the changeset viewer.