You are here

protected function i18n_translation_set::update_related in Internationalization 7

Update related translation sets

3 calls to i18n_translation_set::update_related()
i18n_translation_set::insert in i18n_translation/i18n_translation.inc
Create a new translation set
i18n_translation_set::update in i18n_translation/i18n_translation.inc
Update a translation set
i18n_translation_set::update_delete in i18n_translation/i18n_translation.inc
Update a translation set or delete if empty.

File

i18n_translation/i18n_translation.inc, line 121
Internationalization (i18n) module - Translation set

Class

i18n_translation_set
@file Internationalization (i18n) module - Translation set

Code

protected function update_related($op = 'update_delete') {
  foreach ($this->related_translations as $translation_set) {
    $translation_set
      ->{$op}();
  }
}