/** * Constructor * * @param string $caption * @param string $name * @param mixed $value Pre-selected value (or array of them). * Legal is any name of a XOOPS_ROOT_PATH."/language/" subdirectory. * @param int $size Number of rows. "1" makes a drop-down-list. */ function __construct($caption, $name, $value = null, $size = 1) { parent::__construct($caption, $name, $value, $size); $this->addOptionArray(Xmf_Lists::getLangList()); }