Ignore:
Timestamp:
2001-02-20T14:32:26+13:00 (23 years ago)
Author:
sjboddie
Message:

Caught some of the classifiers up with the documentation (finally). The
old "title" option has been replaced with the "buttonname" option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/AZList.pm

    r2001 r2022  
    2525
    2626# classifier plugin for sorting alphabetically
    27 # options are:
    28 # metadata=Metaname -- all documents with Metaname metadata
    29 #                      will be included in list, list will be sorted
    30 #                      by this element.
    31 # title=Title       -- (optional) the title field for this classification.
    32 #                      if not included title field will be Metaname.
    3327
    3428package AZList;
     
    4741  options:
    4842 
    49   -metadata X     (erquired) Metadata field used for classification.
     43  -metadata X     (required) Metadata field used for classification.
    5044                  List will be sorted by this element.
    5145
    52    -title X       (optional) Title field for this classification.
     46  -buttonname X   (optional) Button name for this classification.
    5347                  defaults to metadata name.
    5448";
     
    6357    if (!parsargv::parse(\@_,
    6458             q^metadata/.*/^, \$metaname,
    65              q^title/.*/^, \$title,
     59             q^buttonname/.*/^, \$title,
    6660             "allow_extra_options")) {
    6761   
Note: See TracChangeset for help on using the changeset viewer.