コード例 #1
0
 /**
  * Internal mechanism to set the Script id
  * 
  * @param Localization $model
  * @param mixed $relatedId
  */
 protected function doSetScriptId(Localization $model, $relatedId)
 {
     if ($model->getScriptId() !== $relatedId) {
         $model->setScriptId($relatedId);
         return true;
     }
     return false;
 }