Example #1
0
 /**
  * Prevent reload of the database record
  * We would need to fetch parent data etc. again, pretty useless
  *
  * @param array $arrData
  *
  * @return $this
  */
 public function mergeRow(array $arrData)
 {
     // do not allow to reset the whole record
     if ($arrData['id']) {
         return $this;
     }
     return parent::mergeRow($arrData);
 }