/** * {@inheritdoc} */ public function getDbValue() { if (!$this->getIsLoaded()) { $localization = $this->object->getLoadLocalization(); if ($this->field->getIsLocalized()) { $currentLocaleId = $localization === ILocalesService::LOCALE_CURRENT ? $this->getCurrentDataLocale() : $localization; if ($this->localeId !== $currentLocaleId && $this->localeId !== $this->getDefaultDataLocale()) { $localization = ILocalesService::LOCALE_ALL; } } $this->object->fullyLoad($localization); } return $this->dbValue; }