UNA
Loading...
Searching...
No Matches
BxDolRelation Class Reference
Inheritance diagram for BxDolRelation:
BxDolConnection BxDolFactory iBxDolFactoryObject

Public Member Functions

 actionAdd ($mixedContent=0, $iInitiator=false)
 
 actionConfirm ($iContent=0, $iInitiator=false)
 
 actionRemove ($iContent=0, $iInitiator=false)
 
 addConnection ($iInitiator, $iContent, $aParams=[])
 
 confirmConnection ($iInitiator, $iContent)
 
 getConnectionsAsArrayExt ($sContentType, $iId1, $iId2, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getCommonContentExt ($iInitiator1, $iInitiator2, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getConnectedInitiatorsExt ($iContent, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getConnectedContentExt ($iInitiator, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 checkAllowedConnect ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 
 checkAllowedConnectCustom ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 
 checkAllowedConfirmConnection ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 
 isRelationAvailableFromProfile ($sModule)
 
 isRelationAvailableWithProfile ($sModule)
 
 isRelationAvailableBetweenProfiles ($sModuleInitiator, $sModuleContent)
 
 isRelationAvailable ($iInitiator, $iContent)
 
 getRelations ($iInitiator, $iContent, &$aSuggestions=array())
 
 getRelation ($iInitiator, $iContent)
 
 getRelationTranslation ($iValue, $sUseValues=BX_DATA_VALUES_DEFAULT)
 
 getRelationTypes ()
 
- Public Member Functions inherited from BxDolConnection
 init ()
 
 getType ()
 
 getTable ()
 
 isProfileInitiator ()
 
 isProfileContent ()
 
 checkAllowedAddConnection ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 
 checkAllowedRemoveConnection ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 
 actionReject ($iContent=0, $iInitiator=false)
 
 outputActionResult ($mixed, $sFormat='json')
 
 onAdded ($iInitiator, $iContent, $iMutual)
 
 removeConnection ($iInitiator, $iContent)
 
 onRemoved ($iInitiator, $iContent)
 
 getConnectionsAsArray ($sContentType, $iId1, $iId2, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getCommonContent ($iInitiator1, $iInitiator2, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getCommonContentCount ($iInitiator1, $iInitiator2, $isMutual=false)
 
 getConnectedContentCount ($iInitiator, $isMutual=false, $iFromDate=0)
 
 getConnectedContentCountExt ($iInitiator, $isMutual=false, $aParams=[])
 
 getConnectedInitiatorsCount ($iContent, $isMutual=false)
 
 getConnectedContent ($iInitiator, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getConnectedContentByType ($iInitiator, $mixedType, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getConnectedInitiators ($iContent, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getConnectedInitiatorsByType ($iContent, $mixedType, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 getConnectionsAsSQLParts ($sContentType, $sContentTable, $sContentField, $iId1, $iId2, $isMutual=false)
 
 getCommonContentAsSQLParts ($sContentTable, $sContentField, $iInitiator1, $iInitiator2, $isMutual=false)
 
 getConnectedContentAsSQLParts ($sContentTable, $sContentField, $iInitiator, $isMutual=false)
 
 getConnectedContentAsSQLPartsExt ($sContentTable, $sContentField, $iInitiator, $isMutual=false)
 
 getConnectedContentAsSQLPartsMultiple ($sContentTable, $sContentField, $sInitiatorTable, $sInitiatorField, $isMutual=false)
 
 getConnectedInitiatorsAsSQLParts ($sInitiatorTable, $sInitiatorField, $iContent, $isMutual=false)
 
 getConnectedInitiatorsAsSQLPartsMultiple ($sInitiatorTable, $sInitiatorField, $sContentTable, $sContentField, $isMutual=false)
 
 getConnectionsAsCondition ($sContentType, $sContentField, $iId1, $iId2, $isMutual=false)
 
 getCommonContentAsCondition ($sContentField, $iInitiator1, $iInitiator2, $iMutual=false)
 
 getConnectedContentAsCondition ($sContentField, $iInitiator, $iMutual=false)
 
 getConnectedInitiatorsAsCondition ($sContentField, $iContent, $iMutual=false)
 
 isConnected ($iInitiator, $iContent, $isMutual=false)
 
 isConnectedNotMutual ($iInitiator, $iContent)
 
 getConnection ($iInitiator, $iContent)
 
 getConnectionById ($iId)
 
 onDeleteInitiatorAndContent ($iId)
 
 onDeleteInitiator ($iIdInitiator)
 
 onDeleteContent ($iIdContent)
 
 onModuleDeleteInitiatorAndContent ($sTable, $sFieldId)
 
 onModuleDeleteInitiator ($sTable, $sFieldId)
 
 onModuleDeleteContent ($sTable, $sFieldId)
 
 onModuleProfileDeleteInitiatorAndContent ($sModuleName)
 
 onModuleProfileDeleteInitiator ($sModuleName)
 
 onModuleProfileDeleteContent ($sModuleName)
 

Static Public Member Functions

static isEnabled ()
 
- Static Public Member Functions inherited from BxDolConnection
static getObjectInstance ($sObject)
 

Protected Member Functions

 __construct ($aObject)
 
- Protected Member Functions inherited from BxDolConnection
 _action ($iInitiator, $iContent, $sMethod, $sErrorKey, $isMutual=false, $isInvert=false)
 
 _checkAllowedConnect ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 
 _checkAllowedConnectInitiator ($oInitiator, $isPerformAction=false)
 
 _checkAllowedConnectContent ($oContent)
 

Protected Attributes

 $_sParamDivider
 
 $_sPreList
 
- Protected Attributes inherited from BxDolConnection
 $_sObject
 
 $_aObject
 
 $_oQuery
 
 $_sType
 

Static Protected Attributes

static $_sParamEnabled = 'sys_relations_enable'
 
static $_sParamTypes = 'sys_relations'
 

The documentation for this class was generated from the following file: