/** * 撤销插件绑定 */ function unbind() { parent::unbind(); $pn = $this->_settings['password_prop']; if (is_null($this->_saved_state['password_prop'])) { unset($this->_meta->update_reject[$pn]); } else { $this->_meta->update_reject[$pn] = $this->_saved_state['password_prop']; } }
/** * 撤销绑定 */ function unbind() { parent::unbind(); $this->_meta->removeAssoc($this->_settings['childs_mapping']); $this->_meta->removeAssoc($this->_settings['parent_mapping']); }