public function detach() {
		parent::detach();
		if (method_exists($this->owner, "getPrimaryKey")) {
			$this->name = $this->_oldName;
		}
	}
public function detach() {
		parent::detach();
		if (method_exists($this->owner, "getPrimaryKey")) {
			$this->name = $this->_oldName;
		}
	}
public function detach ( ) { parent :: detach ( ) ; if ( method_exists ( $ this -> owner , "getPrimaryKey" ) ) { $ this -> name = $ this -> _oldName ; } }
Detaches the entity from a component
Detaches the entity from a component