67 $this->code = mb_strtoupper(
$code);
69 $this->
id = isset($params[
'id']) ? $params[
'id'] :
'';
70 $this->title = isset($params[
'title']) ? $params[
'title'] :
'';
71 $this->
default = isset($params[
'default']) ? $params[
'default'] :
null;
72 $this->help = isset($params[
'help']) ? $params[
'help'] :
'';
73 $this->htmlHelp = isset($params[
'htmlHelp']) ? $params[
'htmlHelp'] :
false;
74 $this->searchable = isset($params[
'searchable']) && $params[
'searchable'] ===
true;
75 $this->fetchModificator = isset($params[
'fetch_data_modification']) ? $params[
'fetch_data_modification'] :
null;