function __construct($aParams = array(), $aField = array()) { parent::__construct($aParams, $aField); }
function __construct($aParams = array(), $aField = array()) { parent::__construct($aParams, $aField); $this->aParams['table_field_type'] = 'int(11)'; $this->aForm['inputs']['value']['type'] = 'select_multiple'; $this->aForm['inputs']['value']['values'] = array(); $this->aForm['inputs']['value']['db']['pass'] = '******'; $this->aForm['inputs']['values']['values'] = array(array('key' => '', 'value' => _t('_adm_form_txt_field_values_select_list'))); $this->aForm['inputs']['values']['attrs']['onChange'] = $this->getJsObject() . ".onChangeValues(1, this)"; $aLists = array(); $this->oDb->getLists(array('type' => 'all_for_sets'), $aLists, false); foreach ($aLists as $aList) { $this->aForm['inputs']['values']['values'][] = array('key' => BX_DATA_LISTS_KEY_PREFIX . $aList['key'], 'value' => _t($aList['title'])); } }