UNA
Loading...
Searching...
No Matches
BxDolRelationQuery Class Reference
Inheritance diagram for BxDolRelationQuery:
BxDolConnectionQuery BxDolDb BxDolFactory iBxDolSingleton

Public Member Functions

 __construct ($aObject)
 
 addConnection ($iInitiator, $iContent, &$iMutualParam=null)
 
 removeConnection ($iInitiator, $iContent)
 
 getCommonContentExt ($iInitiator1, $iInitiator2, $isMutual, $iStart, $iLimit, $iOrder)
 
 getConnectedContentExt ($iInitiator, $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)
 
- Public Member Functions inherited from BxDolConnectionQuery
 getCommonContentSQLParts ($sContentTable, $sContentField, $iInitiator1, $iInitiator2, $isMutual=false)
 
 getConnectedContentSQLParts ($sContentTable, $sContentField, $iInitiator, $isMutual=false)
 
 getConnectedContentSQLPartsExt ($sContentTable, $sContentField, $iInitiator, $isMutual=false)
 
 getConnectedContentSQLPartsMultiple ($sContentTable, $sContentField, $sInitiatorTable, $sInitiatorField, $isMutual=false)
 
 getConnectedInitiatorsSQLParts ($sInitiatorTable, $sInitiatorField, $iContent, $isMutual=false)
 
 getConnectedInitiatorsSQLPartsExt ($sInitiatorTable, $sInitiatorField, $iContent, $isMutual=false)
 
 getConnectedInitiatorsSQLPartsMultiple ($sInitiatorTable, $sInitiatorField, $sContentTable, $sContentField, $isMutual=false)
 
 getCommonContent ($iInitiator1, $iInitiator2, $isMutual, $iStart, $iLimit, $iOrder)
 
 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)
 
 getCommonContentCount ($iInitiator1, $iInitiator2, $isMutual)
 
 getConnectedContentCount ($iInitiator, $isMutual=false, $iFromDate=0)
 
 getConnectedContentCountExt ($iInitiator, $isMutual=false, $aParams=[])
 
 getConnectedInitiatorsCount ($iContent, $isMutual=false)
 
 getConnection ($iInitiator, $iContent)
 
 getConnectionById ($iId)
 
 updateConnection ($iInitiator, $iContent, $aSet)
 
 updateConnectionMutual ($iInitiator, $iContent, $iMutual)
 
 onDelete ($iId, $sField='initiator')
 
 onModuleDelete ($sTable, $sFieldId, $sField='initiator')
 
 onModuleProfileDelete ($sModuleName, $sField='initiator')
 
- Public Member Functions inherited from BxDolDb
 __clone ()
 
 setReadOnlyMode ($b)
 
 connect ()
 
 disconnect ()
 
 ping ()
 
 pdoExec ($sQuery)
 
 pdoQuery ($sQuery)
 
 pdoExceptionHandler ($oException)
 
 getOption ($sName)
 
 getOne ($oStatement, $aBindings=array(), $iIndex=0)
 
 getRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC)
 
 getColumn ($oStatement, $aBindings=array(), $iFetchColumnNumber=0)
 
 getFirstRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC)
 
 getNextRow ($iFetchType=PDO::FETCH_ASSOC)
 
 getAll ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC)
 
 fillArray ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC)
 
 getAllWithKey ($oStatement, $sFieldKey, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC)
 
 getPairs ($oStatement, $sFieldKey, $sFieldValue, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC)
 
 getNumRows ($oStatement=null)
 
 getAffectedRows ($oStatement=null)
 
 lastId ()
 
 query ($oStatement, $aBindings=array(), $bVerbose=null)
 
 res ($oStatement, $aBindings=array(), $bVerbose=null)
 
 getServerInfo ()
 
 getVersion ()
 
 listTables ()
 
 getFields ($sTable)
 
 fetchField ($oStatement, $iField, $aBindings=array())
 
 isTableExists ($sTable)
 
 isFieldExists ($sTable, $sFieldName)
 
 isIndexExists ($sTable, $sIndexName)
 
 error ($aError)
 
 cacheParams ($bForceCacheInvalidate=false, $bForceCacheInvalidateMixed=false)
 
 cacheParamsClear ($sCacheName='')
 
 isParam ($sKey, $bFromCache=true)
 
 addParam ($sName, $sValue, $iKateg, $sDesc, $sType)
 
 getParam ($sKey, $bFromCache=true)
 
 setParam ($sKey, $mixedValue, $iMixId=0)
 
 getParamsMix ($iId)
 
 getParamsMixActive ($sType)
 
 getParamsMixes ($sType, $mixedPublished=false)
 
 setTimezone ($sTimezone)
 
 getEncoding ()
 
 setErrorChecking ($b)
 
 getDbCacheObject ()
 
 genDbCacheKey ($sName)
 
 getCache ($sName, $sFunc)
 
 setCache ($sName, $mData)
 
 fromCache ($sName, $sFunc)
 
 cleanCache ($sName)
 
fromMemory ($sName, $sFunc)
 
 cleanMemory ($sName)
 
 cleanMemoryAll ()
 
 escape ($s)
 
 implode_escape ($mixed)
 
 unescape ($mixed)
 
 prepare ($sQuery)
 
 prepareAsString ($sQuery)
 
 arrayToSQL ($a, $sDiv=',', $sOperator='=', $bWildcardSpaceChars=false)
 
 executeSQL ($sPath, $aReplace=array(), $isBreakOnError=true)
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolConnectionQuery
static getConnectionObject ($sObject)
 
- Static Public Member Functions inherited from BxDolDb
static getInstance ()
 
static getInstanceWithConf ($aDbConf, &$sError)
 
static getLink ()
 
- Protected Member Functions inherited from BxDolConnectionQuery
 _getConnectionsQuery ($sWhere, $sJoin='', $sFields=' *', $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 
 _getConnectionsQueryCount ($sWhere, $sJoin='', $isMutual=false, $sFields='`c`.`id`')
 
 _getOrderClause ($iOrder=BX_CONNECTIONS_ORDER_NONE, $sTable='')
 
 onModuleDeleteCustom ($sTable, $sFieldId, $sField='initiator', $sWhere='')
 
- Protected Member Functions inherited from BxDolDb
 balancer ()
 
 isParamInCache ($sKey)
 
 log ($s)
 
 executeStatement ($oStatement, $aBindings=array(), $bVerbose=null, &$iErrorCode=null)
 
 executeStatementException ($oStatement, $aBindings=array(), $bVerbose=null)
 
 executeStatementSilent ($oStatement, $aBindings=array(), $bVerbose=null)
 
 errorOutput ($aError)
 
- Protected Attributes inherited from BxDolConnectionQuery
 $_aObject
 
 $_sTable
 
 $_sType
 
- Protected Attributes inherited from BxDolDb
 $_bPdoPersistent
 
 $_iPdoFetchType
 
 $_iPdoErrorMode
 
 $_bErrorChecking
 
 $_aError
 
 $_sHost
 
 $_sPort
 
 $_sSocket
 
 $_sDbname
 
 $_sUser
 
 $_sPassword
 
 $_sCharset
 
 $_sStorageEngine
 
 $_oStatement = null
 
 $_oDbCacheObject = null
 
- Static Protected Attributes inherited from BxDolDb
static $_rLink
 
static $_aDbCacheData
 
static $_aParams
 
static $_sParamsCacheName = 'sys_options'
 
static $_sParamsCacheNameMixed = 'sys_options_mixed_'
 
static $_sParamsCacheNameMix = 'sys_options_mix_'
 
static $_sErrorKey = 'bx_db_error'
 
static $_aErrors
 
static $_bReadOnlyMode = true
 
static $_bMultuServersMode = false
 

Detailed Description

Database queries for Relation objects.

See also
BxDolConnection

Constructor & Destructor Documentation

◆ __construct()

BxDolRelationQuery::__construct ( $aDbConf)

set database parameters and connect to it

Reimplemented from BxDolConnectionQuery.

Member Function Documentation

◆ addConnection()

BxDolRelationQuery::addConnection ( $iInitiator,
$iContent,
& $iMutualParam = null )

Reimplemented from BxDolConnectionQuery.

◆ removeConnection()

BxDolRelationQuery::removeConnection ( $iInitiator,
$iContent )

Reimplemented from BxDolConnectionQuery.


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