/**
  * Tasks after insertion
  */
 protected function after()
 {
     parent::after();
     if (Cache::is($this->table() . $this->NewObject->id())) {
         Cache::delete($this->table() . $this->NewObject->id());
     }
 }
Example #2
0
 /**
  * Synchronize
  */
 public function synchronize()
 {
     parent::synchronize();
     $this->ensureAllNumericValues();
     $this->synchronizeObjects();
 }
Example #3
0
 /**
  * Synchronize internal models
  */
 public function synchronize()
 {
     parent::synchronize();
     $this->ensureAllNumericValues();
     $this->synchronizeStartAndEndpoint();
     $this->synchronizeBoundaries();
     if (!$this->hasCorrectedElevations()) {
         $this->set(self::ELEVATIONS_SOURCE, '');
     }
 }