Exemple #1
0
 public function delete()
 {
     $this->_mapper->memberDeleteAll($this);
     parent::delete();
 }
Exemple #2
0
 public function memberDeleteAll($obj)
 {
     if (!$obj instanceof RM_Client_Object) {
         throw new Exception(__METHOD__ . "(): RM_Client_Object expected!");
     }
     if ($this->_grpCacheNs) {
         M('Cache')->clear($this->_grpCacheNs, $user->id());
     }
     parent::memberDeleteAll($obj);
 }