library/Garp/Model/Behavior/Translatable.php
protected function _afterSave(Garp_Model_Db $model, $pKeys) {
        if (!$this->_queue) {
            return;
        }
        $locales = Garp_I18n::getLocales();
        foreach ($pKeys as $primaryKey) {
            foreach ($locales as $locale) {
                $this->_saveI18nRecord($locale, $model, $primaryKey);
            }
        }
        // Reset queue
        $this->_queue = array();
    }
protected function _afterSave(Garp_Model_Db $model, $pKeys) {
        if (!$this->_queue) {
            return;
        }
        $locales = Garp_I18n::getLocales();
        foreach ($pKeys as $primaryKey) {
            foreach ($locales as $locale) {
                $this->_saveI18nRecord($locale, $model, $primaryKey);
            }
        }
        // Reset queue
        $this->_queue = array();
    }
protected function _afterSave ( Garp_Model_Db $ model , $ pKeys ) { if ( ! $ this -> _queue ) { return ; } $ locales = Garp_I18n :: getLocales ( ) ; foreach ( $ pKeys as $ primaryKey ) { foreach ( $ locales as $ locale ) { $ this -> _saveI18nRecord ( $ locale , $ model , $ primaryKey ) ; } } // Reset queue $ this -> _queue = array ( ) ; }
Callback after inserting or updating.

@param Garp_Model_Db $model
@param array $pKeys
@return void
Callback after inserting or updating .