Localization.php
67 public function loadTranslation(PersistentObject $object, $lang, $useDefaults=true, $recursive=true);
Localization defines the interface for storing localized entity instances and retrieving them back...
Definition: Localization.php:32
deleteTranslation(ObjectId $oid, $lang=null)
Remove translations for a given entity.
loadTranslation(PersistentObject $object, $lang, $useDefaults=true, $recursive=true)
Load a translation of an entity for a specific language.
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:27
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.
getDefaultLanguage()
Get the default language that is used in the store.
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:24