|
UNA
|
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, $bImmediate=false) |
| static | getContextName ($sObject) |
Protected Member Functions | |
| __construct ($aObject) | |
| _getContextName () | |
| _getCriterionParams ($iProfileId, $aParams) | |
Protected Attributes | |
| $_bIsApi | |
| $_oDb | |
| $_iObject | |
| $_sObject | |
| $_aObject | |
| $_aCriteria | |
| $_iProfileId | |
| $_iReducerAdd | |
| $_iReducerIgnore | |
| $_iPerPageDefault | |
| $_iPerPageDefaultShowcase | |
Copyright (c) UNA, Inc - https://una.io MIT License - https://opensource.org/licenses/MIT
| 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.
|
static |
Implements iBxDolFactoryObject.
| BxDolRecommendation::ignore | ( | $iProfileId, | |
| $iItemId ) |
Action 'ignore' moves the item to the end. Repeated action do it much more, therefore (*) is used.
| BxDolRecommendation::processCriteriaForSelection | ( | $iProfileId, | |
| $iStart, | |||
| $iPerPage, | |||
| & | $bShowPaginate ) |
The first variant. Isn't used.