Roxen.git / server / etc / modules / Variable.pmod / module.pmod

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:1137:      class MultipleChoice   //! Base class for multiple-choice (one or many of many) variables.   {    inherit Variable;    protected array _list = ({});    protected mapping _table = ([]);       protected int(0..1) multiselect;    +  //! Identifier to use to detect presence of +  //! support for multiselect mode. +  constant multiselect_supported = 1; +     string diff( int render )    {    if(!render) {    if (multiselect)    return "(" + map(default_value(), _title) * ", " + ")";    return "("+_title( default_value() )+")";    }    }       void set_choice_list( array to )