Example #1
0
 /**
  * @return void
  */
 public function updateTranslation()
 {
     if ($this->translationId) {
         // DATABASE
         $this->database->setTranslation($this->translationId, $this->translationValue, $this->currentTableId);
         // SYSTEM
         $conf = array('TranslationId' => $this->translationId);
         // Get Full Translation Data From DB
         $translation = $this->database->getTranslation($this->currentTableId, $conf);
         // Init SystemTranslations
         $this->initSystemTranslations();
         // Update SystemTranslations With DB Values
         $this->systemTranslation->updateTranslation($translation[0]);
     }
 }