Пример #1
0
 protected function _postUpdate()
 {
     parent::_postUpdate();
     $this->updateSlideshow();
 }
Пример #2
0
 /**
  * Pre-update hook. If overridden, should be called at end of function.
  *
  * @return void
  */
 protected function _postUpdate()
 {
     if (!empty($this->ma_giang_vien) && ($giang_vien = Khcn_Api::_()->getItem('default_giang_vien', $this->ma_giang_vien))) {
         $giang_vien->ho = $this->ho;
         $giang_vien->ten = $this->ten;
         $giang_vien->save();
     }
     parent::_postUpdate();
 }