Changeset 23398

Show
Ignore:
Timestamp:
07.12.2010 16:48:03 (9 years ago)
Author:
max
Message:

Addition of new argument for sql action

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/sqlqueryaction.cpp

    r22984 r23398  
    123123  argsinfo.addarginfo (NULL, arg_ainfo); 
    124124 
     125   // "sqlfilter" - boolean flag to control whether "delete all" or 
     126    //              "keep all" functionality is available 
     127  arg_ainfo.shortname = "sqlfilter"; 
     128  arg_ainfo.longname = "whether sql filtering is active or not"; 
     129  arg_ainfo.multiplechar = false; 
     130  arg_ainfo.multiplevalue = false; 
     131  arg_ainfo.defaultstatus = cgiarginfo::weak; 
     132  arg_ainfo.argdefault = "0"; 
     133  arg_ainfo.savedarginfo = cgiarginfo::must; 
     134  argsinfo.addarginfo (NULL, arg_ainfo); 
    125135} 
    126136