Beispiel #1
0
 /**
  * Internal mechanism to set the Language id
  * 
  * @param Localization $model
  * @param mixed $relatedId
  */
 protected function doSetLanguageId(Localization $model, $relatedId)
 {
     if ($model->getLanguageId() !== $relatedId) {
         $model->setLanguageId($relatedId);
         return true;
     }
     return false;
 }