Ejemplo n.º 1
0
 protected function _after_update($data, $options)
 {
     parent::_after_update($data, $options);
     $term_id = $data['term_id'];
     $parent_id = $data['parent'];
     if ($parent_id == 0) {
         $d['path'] = "0-{$term_id}";
     } else {
         $parent = $this->where("term_id={$parent_id}")->find();
         $d['path'] = $parent['path'] . '-' . $term_id;
     }
     $this->where("term_id={$term_id}")->save($d);
 }
 public function _after_update($data, $options)
 {
     parent::_after_update($data, $options);
     $this->Membergroup_cache();
 }
Ejemplo n.º 3
0
 public function _after_update($data, $options)
 {
     parent::_after_update($data, $options);
     $this->config_cache();
 }
Ejemplo n.º 4
0
 public function _after_update($data, $options)
 {
     parent::_after_update($data, $options);
     $this->public_cache_urlrule();
 }
 public function _after_update($data, $options)
 {
     parent::_after_update($data, $options);
     $this->model_field_cache();
 }