_sConnectionMethod = 'getConnectedContentAsSQLParts'; } protected function _getActionDelete ($sType, $sKey, $a, $isSmall = false, $isDisabled = false, $aRow = array()) { if (!isLogged() || !$this->_bOwner) return ''; return parent::_getActionDefault ($sType, $sKey, $a, $isSmall, $isDisabled, $aRow); } protected function _delete ($mixedId) { list($iId, $iViewedId) = $this->_prepareIds(); if(!$this->_oConnection->isConnected($iViewedId, $iId)) return true; return $this->_oConnection->removeConnection($iViewedId, $iId); } } /** @} */