예제 #1
0
 /**
  * Tasks before update
  */
 protected function before()
 {
     if ($this->knowsOldObject()) {
         $this->OldObject->synchronize();
     }
     $this->NewObject->synchronize();
 }
예제 #2
0
파일: Entity.php 프로젝트: rob-st/Runalyze
 /**
  * Synchronize
  */
 public function synchronize()
 {
     parent::synchronize();
     $this->ensureAllNumericValues();
 }
예제 #3
0
 /**
  * Tasks before insertion
  */
 protected function before()
 {
     $this->Object->synchronize();
 }