/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/ORM/Behavior/Translate
NameSizeModeActions
EavStrategy.php177600644editdlrm
ShadowTableStrategy.php193720644editdlrm
TranslateStrategyInterface.php43970644editdlrm
TranslateStrategyTrait.php67930644editdlrm
TranslateTrait.php20220644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/ORM/Behavior/Translate/TranslateTrait.php (2022B)
get('_locale')) { return $this; } $i18n = $this->get('_translations'); $created = false; if (empty($i18n)) { $i18n = []; $created = true; } if ($created || empty($i18n[$language]) || !($i18n[$language] instanceof EntityInterface)) { $className = static::class; $i18n[$language] = new $className(); $created = true; } if ($created) { $this->set('_translations', $i18n); } // Assume the user will modify any of the internal translations, helps with saving $this->setDirty('_translations', true); return $i18n[$language]; } }