protected function isSelected($arrOption)
{
if (empty($this->varValue) && empty($_POST) && $arrOption['default']) {
return parent::optionSelected(1, 1);
}
if (empty($this->varValue) || !is_array($this->varValue)) {
return '';
}
return parent::optionSelected($arrOption['value'], $this->varValue['unit']);
}