UNA
Loading...
Searching...
No Matches
BxBaseModGroupsConnectionFans Class Reference
Inheritance diagram for BxBaseModGroupsConnectionFans:
BxTemplConnection BxBaseConnection BxDolConnection BxDolFactory iBxDolFactoryObject BxCoursesConnectionFans BxEventsConnectionFans BxGroupsConnectionFans BxJobsConnectionFans BxOrgsConnectionFans BxSpacesConnectionFans

Public Member Functions

 __construct ($aObject)
 
 init ()
 
 getModule ()
 
 checkAllowedAddConnection ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 
 actionRemove ($iContent=0, $iInitiator=false)
 
 actionReject ($iInitiator=0, $iContent=false)
 
 hasQuestionnaire ($iContentProfileId)
 
 isQuestionnaireAnswered ($iContentProfileId, $iProfileId=0)
 
 getQuestionnaireForm ($sAction, $iContentProfileId, $aParams=[])
 
 _checkAllowedConnectContent ($oContent)
 
- Public Member Functions inherited from BxBaseConnection
 actionGetConnected ($iStart=0, $iPerPage=0)
 
 actionGetUsers ($iStart=0, $iPerPage=0)
 
 getJsObjectName ($iProfileId)
 
 getCounter ($iProfileId, $bIsMutual, $aParams, $sContentType)
 
 getCounterAPI ($iProfileId, $bIsMutual, $aParams, $sContentType)
 
 getConnectedListAPI ($iProfileId, $bIsMutual, $sContentType, $iCount=BX_CONNECTIONS_LIST_COUNTER)
 
 getCommonListAPI ($iProfileId1, $iProfileId2, $bIsMutual, $iCount=BX_CONNECTIONS_LIST_COUNTER)
 
 _getConnected ($sContentType, $iProfileId, $bIsMutual, $iStart=0, $iPerPage=0)
 
- Public Member Functions inherited from BxDolConnection
 getType ()
 
 getTable ()
 
 isProfileInitiator ()
 
 isProfileContent ()
 
 checkAllowedConnect ($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)
 
 actionAdd ($iContent=0, $iInitiator=false)
 
 outputActionResult ($mixed, $sFormat='json')
 
 addConnection ($iInitiator, $iContent, $aParams=array())
 
 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)
 

Protected Member Functions

 _checkAllowedConnectInitiator ($oInitiator, $isPerformAction=false)
 
- Protected Member Functions inherited from BxBaseConnection
 _getJsScript ($iProfileId, $sContentType, $bIsMutual, $aHtmlIds, $bDynamicMode=false)
 
 _getCounterLabel ($iCount, $iProfileId, $bIsMutual, $aParams, $sContentType)
 
 _getIconDo ()
 
 _getAuthorInfo ($iAuthorId=0)
 
- 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)
 

Protected Attributes

 $_sModule
 
 $_oModule
 
 $_bQuestionnaire
 
 $_bBan
 
 $_oBanConnection
 
- Protected Attributes inherited from BxBaseConnection
 $_sStylePrefix
 
 $_sJsObjName
 
 $_aHtmlIds
 
 $_oTemplate
 
- Protected Attributes inherited from BxDolConnection
 $_sObject
 
 $_aObject
 
 $_oQuery
 
 $_sType
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ __construct()

BxBaseModGroupsConnectionFans::__construct ( $aObject)

Constructor

Parameters
$aObjectarray of connection options

Reimplemented from BxTemplConnection.

Reimplemented in BxCoursesConnectionFans, BxEventsConnectionFans, BxGroupsConnectionFans, BxJobsConnectionFans, BxOrgsConnectionFans, and BxSpacesConnectionFans.

Member Function Documentation

◆ _checkAllowedConnectContent()

BxBaseModGroupsConnectionFans::_checkAllowedConnectContent ( $oContent)

Reimplemented from BxDolConnection.

◆ _checkAllowedConnectInitiator()

BxBaseModGroupsConnectionFans::_checkAllowedConnectInitiator ( $oInitiator,
$isPerformAction = false )
protected

Reimplemented from BxDolConnection.

◆ actionReject()

BxBaseModGroupsConnectionFans::actionReject ( $iContent = 0,
$iInitiator = false )

Reject connection request. This method is wrapper for

See also
removeConnection to be called from
conn.php upon AJAX request to this file.
Parameters
$iContentcontent to make connection to, in most cases some content id, or other profile id in case of friends
Returns
array

Reimplemented from BxDolConnection.

◆ actionRemove()

BxBaseModGroupsConnectionFans::actionRemove ( $iContent = 0,
$iInitiator = false )

Remove connection. This method is wrapper for

See also
removeConnection to be called from
conn.php upon AJAX request to this file.
Parameters
$iContentcontent to make connection to, in most cases some content id, or other profile id in case of friends
Returns
array

Reimplemented from BxDolConnection.

◆ checkAllowedAddConnection()

BxBaseModGroupsConnectionFans::checkAllowedAddConnection ( $iInitiator,
$iContent,
$isPerformAction = false,
$isMutual = false,
$isInvertResult = false,
$isSwap = false,
$isCheckExists = true )

Reimplemented from BxDolConnection.

◆ init()

BxBaseModGroupsConnectionFans::init ( )

Init something here if it's needed.

Reimplemented from BxDolConnection.


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