/**
  * Устанавливает настройки интерфейса для текущего поля
  *
  * @see AdminBaseHelper::getInterfaceSettings();
  * @see AdminBaseHelper::setFields();
  *
  * @param string $code
  *
  * @return bool
  */
 public function loadSettings($code = null)
 {
     $interface = $this->helper->getInterfaceSettings();
     $code = is_null($code) ? $this->code : $code;
     if (!isset($interface['FIELDS'][$code])) {
         return false;
     }
     unset($interface['FIELDS'][$code]['WIDGET']);
     $this->settings = array_merge($this->settings, $interface['FIELDS'][$code]);
     $this->setDefaultValue();
     return true;
 }