UNA
Loading...
Searching...
No Matches
BxDolRecommendation Class Reference
Inheritance diagram for BxDolRecommendation:
BxDolFactory iBxDolFactoryObject BxBaseRecommendation BxTemplRecommendation BxDolRecommendationProfile BxBaseRecommendationProfile BxTemplRecommendationProfile BxBaseModGroupsRecommendationFans BxGroupsRecommendationFans BxJobsRecommendationFans

Public Member Functions

 getConnection ()
 
 getContentInfo ()
 
 getList ($iProfileId=0, $aParams=[])
 
 getCount ($iProfileId=0, $aParams=[])
 
 actionAdd ($iProfileId=0, $iItemId=0)
 
 actionIgnore ($iProfileId=0, $iItemId=0)
 
 add ($iProfileId, $iItemId)
 
 ignore ($iProfileId, $iItemId)
 
 processCriteria ($iProfileId, $iLimit=100)
 
 outputActionResult ($mixed, $sFormat='json')
 
 processCriteriaForSelection ($iProfileId, $iStart, $iPerPage, &$bShowPaginate)
 

Static Public Member Functions

static getObjectInstance ($sObject)
 
static updateData ($iProfileId=0)
 

Protected Member Functions

 __construct ($aObject)
 
 _getContextName ()
 
 _getCriterionParams ($iProfileId, $aParams)
 

Protected Attributes

 $_bIsApi
 
 $_oDb
 
 $_iObject
 
 $_sObject
 
 $_aObject
 
 $_aCriteria
 
 $_iProfileId
 
 $_iReducerAdd
 
 $_iReducerIgnore
 
 $_iPerPageDefault
 

Detailed Description

Copyright (c) UNA, Inc - https://una.io MIT License - https://opensource.org/licenses/MIT

Member Function Documentation

◆ add()

BxDolRecommendation::add ( $iProfileId,
$iItemId )

Action 'add' moves the item to the end not so much as 'ignore'. For this purpose (+) is used instead of the (*). Is needed to hide the recomended item. Isn't removed completely because friend request can be rejected.

◆ getObjectInstance()

static BxDolRecommendation::getObjectInstance ( $sObject)
static

Implements iBxDolFactoryObject.

◆ ignore()

BxDolRecommendation::ignore ( $iProfileId,
$iItemId )

Action 'ignore' moves the item to the end. Repeated action do it much more, therefore (*) is used.

◆ processCriteriaForSelection()

BxDolRecommendation::processCriteriaForSelection ( $iProfileId,
$iStart,
$iPerPage,
& $bShowPaginate )

The first variant. Isn't used.


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