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

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:1620:    inherit Variable;    constant type="List";    int width = 40;       array(string|array(string)) verify_set(mixed to)    {    if (stringp(to)) {    // Backward compatibility junk...    return ({ "Compatibility: "    "Converted from TYPE_STRING to TYPE_STRING_LIST.\n", -  (to-" ")/"," }); +  map(to/",", global.String.trim_all_whites), +  });    }    return ::verify_set(to);    }       string transform_to_form( mixed what )    //! Override this function to do the value->form mapping for    //! individual elements in the array.    {    return (string)what;    }