Name

options —

DESCRIPTION

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

options is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: code/Widget/options.widget
Lines: 12


# Copyright 2005-2007 Interchange Development Group and others
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.  See the LICENSE file for details.
# 
# $Id: options.widget,v 1.3 2007-03-30 23:40:58 pajamian Exp $

CodeDef options Widget 1
CodeDef options Description Show all options
CodeDef options MapRoutine Vend::Form::show_options

Source: lib/Vend/Form.pm
Lines: 292

sub show_options {
my $opt = shift;
my $ary = shift;
my $idx = shift || 0;
return undef if ! $ary;
my @out;
eval {
  @out = map {$_->[$idx]} @$ary;
};
my $delim = Vend::Interpolate::get_joiner($opt->{delimiter}, ',');
return join $delim, @out;
}

AUTHORS

Interchange Development Group

SEE ALSO

OptionsEnable(7ic)

DocBook! Interchange!