예제 #1
0
 public function save()
 {
     $s = $this->innerAdapter->save();
     if ($s) {
         $this->lazyInitialization();
     }
     return $s;
 }
예제 #2
0
 protected function saveParameters()
 {
     $save1 = parent::saveParameters();
     if (isset($this->originalAdapter)) {
         $save2 = $this->originalAdapter->save();
     } else {
         $save2 = FALSE;
     }
     return $save1 || $save2;
 }
예제 #3
0
 public function process()
 {
     parent::process();
     // If something has been changed in the original table persist modifications:
     $this->adapter->save();
 }