UNA
|
Public Member Functions | |
serviceEntityCalendar ($iContentId=0, $sTemplate='calendar.html') | |
serviceProfileUnitSafe ($iContentId, $aParams=array()) | |
serviceProfileUrl ($iContentId) | |
serviceGetSpaceTitle () | |
serviceGetParticipatingProfiles ($iProfileId, $aConnectionObjects=false) | |
servicePrepareFields ($aFieldsProfile) | |
serviceEntityCreate ($sDisplay=false) | |
serviceBrowseRecommended ($sUnitView=false, $bEmptyMessage=false, $bAjaxPaginate=true) | |
serviceBrowseRecentProfiles ($bDisplayEmptyMsg=false, $bAjaxPaginate=true) | |
serviceBrowseActiveProfiles ($sUnitView=false, $bEmptyMessage=false, $bAjaxPaginate=false) | |
serviceBrowseFamiliarProfiles ($sConnection='', $sUnitView=false, $bEmptyMessage=false, $bAjaxPaginate=false) | |
serviceBrowseTopProfiles ($bDisplayEmptyMsg=false, $bAjaxPaginate=false) | |
serviceBrowseOnlineProfiles ($bDisplayEmptyMsg=false, $bAjaxPaginate=false) | |
serviceBrowseByAcl ($mixedLevelId, $iDesignBox=BX_DB_PADDING_DEF) | |
serviceEntityCover ($iContentId=0, $aParams=[]) | |
serviceEntityCommentsByProfile ($iProfileId) | |
serviceEntitySocialSharing ($mixedContent=false, $aParams=array()) | |
serviceIsEnableProfileActivationLetter () | |
serviceDeleteEntityService ($iContentId, $bDeleteWithContent=false) | |
serviceGetNotificationsData () | |
serviceGetNotificationsTimelinePostCommon ($aEvent) | |
serviceGetTimelineData () | |
serviceGetTimelineProfilePicture ($aEvent, $aBrowseParams=[]) | |
serviceCheckAllowedProfileView ($iContentId) | |
serviceCheckAllowedProfileContact ($iContentId) | |
serviceCheckAllowedPostInProfile ($iContentId, $sPostModule='') | |
serviceCheckAllowedModuleActionInProfile ($iContentId, $sPostModule, $sActionName) | |
serviceCheckSpacePrivacy ($iContentId) | |
serviceCheckAllowedViewForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false) | |
serviceCheckAllowedPostForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false) | |
serviceCheckAllowedContactForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false) | |
serviceGetMembers ($sMode='active', $iStart=0, $iPerPage=10) | |
checkAllowedAdd ($isPerformAction=false) | |
checkAllowedView ($aDataEntry, $isPerformAction=false) | |
checkAllowedViewProfileImage ($aDataEntry, $isPerformAction=false) | |
checkAllowedViewCoverImage ($aDataEntry, $isPerformAction=false) | |
checkAllowedPost ($aDataEntry, $isPerformAction=false) | |
checkAllowedContact ($aDataEntry, $isPerformAction=false) | |
checkAllowedEdit ($aDataEntry, $isPerformAction=false) | |
checkAllowedChangeCover ($aDataEntry, $isPerformAction=false) | |
checkAllowedDelete (&$aDataEntry, $isPerformAction=false) | |
checkAllowedViewMoreMenu (&$aDataEntry, $isPerformAction=false) | |
checkAllowedCompose (&$aDataEntry, $isPerformAction=false) | |
checkAllowedFriendAdd (&$aDataEntry, $isPerformAction=false) | |
checkAllowedFriendRemove (&$aDataEntry, $isPerformAction=false) | |
checkAllowedRelationAdd (&$aDataEntry, $isPerformAction=false) | |
checkAllowedRelationRemove (&$aDataEntry, $isPerformAction=false) | |
checkAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false) | |
_modProfileCheckAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false) | |
checkAllowedSubscribeRemove (&$aDataEntry, $isPerformAction=false) | |
Public Member Functions inherited from BxBaseModGeneralModule | |
actionAjaxGetProfiles () | |
serviceModuleIcon () | |
serviceGetLink ($iContentId) | |
serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='') | |
serviceBrowse ($aParams=array()) | |
serviceBrowseFeatured ($sUnitView=false, $bEmptyMessage=false, $bAjaxPaginate=true) | |
serviceBrowseFavorite ($iProfileId=0, $aParams=array()) | |
serviceBrowseFavoriteLists ($iProfileId=0, $aParams=array()) | |
serviceBrowseCategory ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $aParams=[]) | |
serviceFavoritesListActions () | |
serviceFavoritesListInfo ($aParams=array()) | |
serviceBrowseContext ($iProfileId=0, $aParams=array()) | |
serviceEntityAdd ($iProfile, $aValues, $sDisplay=false) | |
serviceRedirectAfterAdd ($aContentInfo) | |
serviceGetObjectForm ($sType, $aParams=array()) | |
serviceEntityCreate ($sParams=false) | |
serviceGetCreatePostForm ($aParams=[]) | |
serviceEntityEdit ($iContentId=0, $sDisplay=false) | |
serviceEntityDelete ($iContentId=0) | |
serviceEntityTextBlock ($iContentId=0) | |
serviceEntityInfo ($iContentId=0, $sDisplay=false) | |
serviceEntityInfoFull ($iContentId=0) | |
serviceEntityInfoExtended ($iContentId=0) | |
serviceEntityLocation ($iContentId=0) | |
serviceEntityComments ($iContentId=0) | |
serviceEntityAttachments ($iContentId=0) | |
serviceDeleteEntity ($iContentId, $sFuncDelete='deleteData') | |
serviceMyEntriesActions ($iProfileId=0) | |
serviceEntityAllActions ($mixedContent=false, $aParams=array()) | |
serviceEntityActions ($iContentId=0) | |
serviceEntityReports ($iContentId=0) | |
serviceReportsCountByStatus ($iStatus) | |
serviceEntitySocialSharing ($mixedContent=false, $aParams=array()) | |
serviceEntityContext ($iContentId=0) | |
serviceGetLablesTree () | |
serviceGetNotificationsData () | |
serviceGetNotificationsPost ($aEvent) | |
serviceGetNotificationsComment ($aEvent) | |
serviceGetNotificationsReply ($aEvent) | |
serviceGetNotificationsVote ($aEvent) | |
serviceGetNotificationsReaction ($aEvent) | |
serviceGetNotificationsScoreUp ($aEvent) | |
serviceGetNotificationsScoreDown ($aEvent) | |
serviceGetTimelineData () | |
serviceGetTimelinePost ($aEvent, $aBrowseParams=array()) | |
serviceCheckAllowed ($sAction, $isPerformAction=false) | |
serviceCheckAllowedWithContent ($sAction, $iContentId, $isPerformAction=false) | |
serviceCheckAllowedWithContentForProfile ($sAction, $iContentId, $iProfileId, $isPerformAction=false) | |
serviceCategoriesMultiList ($bDisplayEmptyCats=true) | |
serviceCheckAllowedViewForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false) | |
checkAllowedBrowse () | |
checkAllowedView ($aDataEntry, $isPerformAction=false) | |
checkAllowedViewForProfile ($aDataEntry, $iProfileId, $isPerformAction=false) | |
checkAllowedAdd ($isPerformAction=false) | |
checkAllowedApprove ($aDataEntry, $isPerformAction=false) | |
checkAllowedEdit ($aDataEntry, $isPerformAction=false) | |
checkAllowedDelete (&$aDataEntry, $isPerformAction=false) | |
checkAllowedSetMembership (&$aDataEntry, $isPerformAction=false) | |
checkAllowedEditAnyEntry ($isPerformAction=false) | |
checkAllowedDeleteAnyEntry ($isPerformAction=false) | |
checkAllowedEditAnyEntryForProfile ($isPerformAction=false, $iProfileId=false) | |
checkAllowedDeleteAnyEntryForProfile ($isPerformAction=false, $iProfileId=false) | |
checkAllowedCommentsView ($aContentInfo, $isPerformAction=false) | |
checkAllowedCommentsPost ($aContentInfo, $isPerformAction=false) | |
Public Member Functions inherited from BxDolModule | |
__construct ($aModule) | |
isEnabled () | |
getName () | |
isLogged () | |
getUserId () | |
getUserPassword () | |
Additional Inherited Members | |
Static Public Member Functions inherited from BxDolModule | |
static | getInstance ($sName) |
Protected Member Functions inherited from BxBaseModGeneralModule | |
_serviceBrowseQuick ($aProfiles, $iStart=0, $iLimit=4, $aAdditionalParams=array()) | |
_alertParams ($aContentInfo) | |
Base class for profile modules.
BxBaseModProfileModule::_modProfileCheckAllowedSubscribeAdd | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
Note. Is mainly needed for internal usage. Access level is 'public' to allow outer calls from alerts.
BxBaseModProfileModule::checkAllowedAdd | ( | $isPerformAction = false | ) |
BxBaseModProfileModule::checkAllowedChangeCover | ( | $aDataEntry, | |
$isPerformAction = false |
|||
) |
Check if user can change cover image
BxBaseModProfileModule::checkAllowedCompose | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
Compose differs from Contact. For example, a user should NOT be able to start conversation (compose) with himself but he should be able to view conversation page where he is one of the participants.
BxBaseModProfileModule::checkAllowedContact | ( | $aDataEntry, | |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedDelete | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedEdit | ( | $aDataEntry, | |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedFriendAdd | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedFriendRemove | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedPost | ( | $aDataEntry, | |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedRelationAdd | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedRelationRemove | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedSubscribeAdd | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedSubscribeRemove | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedView | ( | $aDataEntry, | |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedViewCoverImage | ( | $aDataEntry, | |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedViewMoreMenu | ( | & | $aDataEntry, |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::checkAllowedViewProfileImage | ( | $aDataEntry, | |
$isPerformAction = false |
|||
) |
BxBaseModProfileModule::serviceBrowseActiveProfiles | ( | $sUnitView = false , |
|
$bEmptyMessage = false , |
|||
$bAjaxPaginate = false |
|||
) |
BxBaseModProfileModule::serviceBrowseByAcl | ( | $mixedLevelId, | |
$iDesignBox = BX_DB_PADDING_DEF |
|||
) |
BxBaseModProfileModule::serviceBrowseFamiliarProfiles | ( | $sConnection = '' , |
|
$sUnitView = false , |
|||
$bEmptyMessage = false , |
|||
$bAjaxPaginate = false |
|||
) |
BxBaseModProfileModule::serviceBrowseOnlineProfiles | ( | $bDisplayEmptyMsg = false , |
|
$bAjaxPaginate = false |
|||
) |
BxBaseModProfileModule::serviceBrowseRecentProfiles | ( | $bDisplayEmptyMsg = false , |
|
$bAjaxPaginate = true |
|||
) |
BxBaseModProfileModule::serviceBrowseRecommended | ( | $sUnitView = false , |
|
$bEmptyMessage = false , |
|||
$bAjaxPaginate = true |
|||
) |
BxBaseModProfileModule::serviceBrowseTopProfiles | ( | $bDisplayEmptyMsg = false , |
|
$bAjaxPaginate = false |
|||
) |
BxBaseModProfileModule::serviceCheckAllowedContactForProfile | ( | $aDataEntry, | |
$isPerformAction = false , |
|||
$iProfileId = false |
|||
) |
Check if profile can be contacted.
NOTE. This service should be used if it's needed to pass some specific values in $isPerformAction and $iProfileId parameters, otherwise it's recommended to use BxBaseModProfileModule::serviceCheckAllowedProfileContact service method or BxDolProfile::checkAllowedProfileContact method.
type | $aDataEntry | - entry which the action will be performed for |
type | $isPerformAction | - perform or just check the action |
type | $iProfileId | - performer's profile ID |
BxBaseModProfileModule::serviceCheckAllowedModuleActionInProfile | ( | $iContentId, | |
$sPostModule, | |||
$sActionName | |||
) |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceCheckAllowedPostForProfile | ( | $aDataEntry, | |
$isPerformAction = false , |
|||
$iProfileId = false |
|||
) |
Check if posting (comment, post in Timeline) is available.
NOTE. This service should be used if it's needed to pass some specific values in $isPerformAction and $iProfileId parameters, otherwise it's recommended to use BxBaseModProfileModule::serviceCheckAllowedPostInProfile service method or BxDolProfile::checkAllowedPostInProfile method.
type | $aDataEntry | - entry which the action will be performed for |
type | $isPerformAction | - perform or just check the action |
type | $iProfileId | - performer's profile ID |
BxBaseModProfileModule::serviceCheckAllowedPostInProfile | ( | $iContentId, | |
$sPostModule = '' |
|||
) |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceCheckAllowedProfileContact | ( | $iContentId | ) |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceCheckAllowedProfileView | ( | $iContentId | ) |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceCheckAllowedViewForProfile | ( | $aDataEntry, | |
$isPerformAction = false , |
|||
$iProfileId = false |
|||
) |
Check if the profile can be viewed.
NOTE. This service should be used if it's needed to pass some specific values in $isPerformAction and $iProfileId parameters, otherwise it's recommended to use BxBaseModProfileModule::serviceCheckAllowedProfileView service method or BxDolProfile::checkAllowedProfileView method.
type | $aDataEntry | - entry which the action will be performed for |
type | $isPerformAction | - perform or just check the action |
type | $iProfileId | - performer's profile ID |
BxBaseModProfileModule::serviceCheckSpacePrivacy | ( | $iContentId | ) |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceDeleteEntityService | ( | $iContentId, | |
$bDeleteWithContent = false |
|||
) |
For internal usage only.
BxBaseModProfileModule::serviceEntityCalendar | ( | $iContentId = 0 , |
|
$sTemplate = 'calendar.html' |
|||
) |
BxBaseModProfileModule::serviceEntityCommentsByProfile | ( | $iProfileId | ) |
Entry comments
BxBaseModProfileModule::serviceEntityCover | ( | $iContentId = 0 , |
|
$aParams = [] |
|||
) |
entity_cover
BxBaseModProfileModule::serviceEntityCreate | ( | $sDisplay = false | ) |
BxBaseModProfileModule::serviceEntitySocialSharing | ( | $mixedContent = false , |
|
$aParams = array() |
|||
) |
Entry social sharing block
BxBaseModProfileModule::serviceGetMembers | ( | $sMode = 'active' , |
|
$iStart = 0 , |
|||
$iPerPage = 10 |
|||
) |
Returns list of members by mode with limited number of records for React Jot
string | $sMode | |
int | $iStart | |
int | $iPerPage |
BxBaseModProfileModule::serviceGetNotificationsData | ( | ) |
Data for Notifications module
BxBaseModProfileModule::serviceGetNotificationsTimelinePostCommon | ( | $aEvent | ) |
Notification about new member requst in the group
BxBaseModProfileModule::serviceGetParticipatingProfiles | ( | $iProfileId, | |
$aConnectionObjects = false |
|||
) |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceGetSpaceTitle | ( | ) |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceGetTimelineData | ( | ) |
Data for Timeline module
BxBaseModProfileModule::serviceGetTimelineProfilePicture | ( | $aEvent, | |
$aBrowseParams = [] |
|||
) |
Entry post for Timeline module
BxBaseModProfileModule::serviceIsEnableProfileActivationLetter | ( | ) |
check enabled profile activation letter
BxBaseModProfileModule::servicePrepareFields | ( | $aFieldsProfile | ) |
Prepare fields from some universal set of fields to fields in particular profile module. By default only 'name' and 'description' fields are supported. After fields convertion it can be used in
$aFieldsProfile | fields in soem universal format. |
Implements iBxDolProfileService.
BxBaseModProfileModule::serviceProfileUnitSafe | ( | $iContentId, | |
$aParams = array() |
|||
) |
BxBaseModProfileModule::serviceProfileUrl | ( | $iContentId | ) |
Implements iBxDolProfileService.