public function get_definition() { $this->param['field_type'] = $this->multi ? 'multiselect' : 'select'; if ($this->crits_callback) { $this->param['crits'] = $this->crits_callback; } return parent::get_definition(); }
public function get_definition() { $this->param = self::format_param($this->prefix, $this->pad_length, $this->pad_mask); return parent::get_definition(); }