Localization.php
67 public function loadTranslation(PersistentObject $object, $lang, $useDefaults=true, $recursive=true);
loadTranslation(PersistentObject $object, $lang, $useDefaults=true, $recursive=true)
Load a translation of an entity for a specific language.
deleteTranslation(ObjectId $oid, $lang=null)
Remove translations for a given entity.
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
loadTranslatedObject(ObjectId $oid, $lang, $useDefaults=true)
Load a single translated object.
deleteLanguage($lang)
Delete all translations for a given language.
saveTranslation(PersistentObject $object, $lang, $recursive=true)
Save a translation of an entity for a specific language.
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:23
getDefaultLanguage()
Get the default language that is used in the store.
Localization defines the interface for storing localized entity instances and retrieving them back.
Definition: Localization.php:32