Example #1
0
 public function update()
 {
     $hm = $this->getDi()->hook;
     if ($hm->have(Am_Event::ACCESS_AFTER_UPDATE)) {
         $old = $this->getTable()->load($this->pk());
     }
     parent::update();
     $this->runHooks();
     if ($hm->have(Am_Event::ACCESS_AFTER_UPDATE)) {
         $this->getDi()->hook->call(Am_Event::ACCESS_AFTER_UPDATE, array('access' => $this, 'old' => $old));
     }
     return $this;
 }
Example #2
0
 public function update()
 {
     if (!$this->_disablePostbackLog) {
         parent::update();
     }
     return $this;
 }
Example #3
0
 function update()
 {
     $this->status = get_first($this->status, self::STATUS_CHANGED);
     parent::update();
 }
Example #4
0
 function update()
 {
     $ret = parent::update();
     $this->saveAccess($this->_access);
     return $ret;
 }
Example #5
0
 public function update()
 {
     parent::update();
     if ($this->_dataStorage) {
         $this->_dataStorage->update();
     }
     return $this;
 }