UNA
Loading...
Searching...
No Matches
BxBaseModGroupsModule Class Reference
Inheritance diagram for BxBaseModGroupsModule:
BxBaseModProfileModule BxBaseModGeneralModule iBxDolContentInfoService iBxDolProfileService BxDolModule BxDol BxCnlModule BxCoursesModule BxEventsModule BxGroupsModule BxJobsModule BxOrgsModule BxSpacesModule

Public Member Functions

 __construct (&$aModule)
 
 actionAjaxGetInitialMembers ()
 
 serviceGetInitialMembers ($sParams)
 
 actionProcessInvite ($sKey, $iGroupProfileId, $bAccept)
 
 actionCheckName ()
 
 actionGetQuestionnaire ()
 
 serviceManageTools ($sType='common')
 
 decodeDataAPI ($aData, $aParams=[])
 
 serviceGetMenuAddonManageTools ()
 
 serviceGetOptionsMembersMode ()
 
 serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='')
 
 serviceGetSpaceTitle ()
 
 serviceGetParticipatingProfiles ($iProfileId, $aConnectionObjects=false)
 
 serviceGetSafeServices ()
 
 serviceActAsProfile ()
 
 serviceIsGroupProfile ()
 
 serviceIsEnableForContext ($iProfileId=0)
 
 serviceIsFan ($iGroupProfileId, $iProfileId=false)
 
 serviceIsAdmin ($iGroupProfileId, $iProfileId=false)
 
 serviceGetAdminRole ($iGroupProfileId, $iProfileId=false)
 
 serviceGetAdminsByAction ($iGroupProfileId, $mixedAction)
 
 serviceGetAdminsToManageContent ($iGroupProfileId)
 
 serviceDeleteProfileFromFansAndAdmins ($iProfileId)
 
 serviceReassignEntityAuthor ($iContentId, $iAuthorId=0)
 
 serviceEntityAllActions ($mixedContent=false, $aParams=array())
 
 serviceReassignEntitiesByAuthor ($iProfileId, $iAuthorId=0)
 
 servicePrepareFields ($aFieldsProfile)
 
 serviceOnRemoveConnection ($iGroupProfileId, $iInitiatorId)
 
 serviceAddMutualConnection ($iGroupProfileId, $iInitiatorId, $bSendInviteOnly=false)
 
 serviceFansTable ()
 
 serviceInvitesTable ()
 
 serviceBansTable ()
 
 serviceFans ($iContentId=0, $bAsArray=false)
 
 serviceFansWithoutAdmins ($iContentId=0, $bAsArray=false)
 
 serviceAdmins ($iContentId=0)
 
 serviceMembersByRole ($iContentId=0, $iRole=BX_BASE_MOD_GROUPS_ROLE_COMMON)
 
 serviceBrowseJoinedEntries ($iProfileId=0, $bDisplayEmptyMsg=false)
 
 serviceBrowseFollowedEntries ($iProfileId=0, $bDisplayEmptyMsg=false)
 
 serviceBrowseCreatedEntries ($iProfileId=0, $bDisplayEmptyMsg=false)
 
 serviceBrowseRecommendationsFans ($iProfileId=0, $aParams=[])
 
 serviceBrowseMembers ($iProfileId=0, $aParams=[])
 
 serviceEntityEditQuestionnaire ($iProfileId=0)
 
 serviceEntityPricing ($iProfileId=0)
 
 serviceEntityJoin ($iProfileId=0)
 
 serviceEntityInvite ($iContentId=0, $bErrorMsg=true)
 
 serviceEntitySocialSharing ($mixedContent=false, $aParams=array())
 
 serviceIsPricingAvaliable ($iProfileId)
 
 serviceIsPaidJoinAvaliable ($iGroupProfileId, $iProfileId=0)
 
 serviceIsPaidJoinAvaliableByContent ($iGroupContentId, $iProfileId=0)
 
 serviceIsFreeJoinAvaliable ($iGroupProfileId, $iProfileId=0)
 
 serviceIsFreeJoinAvaliableByContent ($iGroupContentId, $iProfileId=0)
 
 isPaidJoinByProfileForProfile ($iGroupProfileId, $iProfileId=0)
 
 isPaidJoinByProfile ($iGroupProfileId)
 
 serviceGetPaymentData ()
 
 serviceGetCartItem ($mixedItemId)
 
 serviceGetCartItems ($iSellerId)
 
 serviceRegisterCartItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder, $sLicense)
 
 serviceRegisterSubscriptionItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder, $sLicense)
 
 serviceReregisterCartItem ($iClientId, $iSellerId, $iItemIdOld, $iItemIdNew, $sOrder)
 
 serviceReregisterSubscriptionItem ($iClientId, $iSellerId, $iItemIdOld, $iItemIdNew, $sOrder)
 
 serviceUnregisterCartItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder, $sLicense)
 
 serviceUnregisterSubscriptionItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder, $sLicense)
 
 serviceCancelSubscriptionItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder)
 
 serviceGetQuestionnaire ($sSource, $sObject, $sAction, $iContentProfileId)
 
 serviceGetNotificationsData ()
 
 serviceGetNotificationsInsertData ($oAlert, $aHandler, $aDataItems)
 
 serviceGetNotificationsJoinInvitation ($aEvent)
 
 serviceGetNotificationsJoinRequest ($aEvent)
 
 serviceGetNotificationsFanAdded ($aEvent)
 
 serviceGetTimelineData ()
 
 serviceGetTimelinePost ($aEvent, $aBrowseParams=array())
 
 checkAllowedUsePaidJoin ($isPerformAction=false)
 
 checkAllowedView ($aDataEntry, $isPerformAction=false)
 
 serviceCheckAllowedViewForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false)
 
 checkAllowedCompose (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedFanAdd (&$aDataEntry, $isPerformAction=false)
 
 _modGroupsCheckAllowedFanAdd (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedFanRemove (&$aDataEntry, $isPerformAction=false)
 
 isAllowedActionByRole ($mAction, $aDataEntry, $iGroupProfileId, $iProfileId)
 
 isAllowedModuleActionByRole ($sModule, $sAction, $iProfileRole)
 
 isAllowedModuleActionByProfile ($iContentId, $sPostModule, $sAction, $iProfileId=0)
 
 isRole ($iProfileRole, $iRole)
 
 serviceIsRole ($iProfileRole, $iRole)
 
 checkAllowedManageFans ($mixedDataEntry, $isPerformAction=false)
 
 checkAllowedManageAdmins ($mixedDataEntry, $isPerformAction=false)
 
 checkAllowedEdit ($aDataEntry, $isPerformAction=false)
 
 checkAllowedInvite ($aDataEntry, $isPerformAction=false)
 
 checkAllowedChangeCover ($aDataEntry, $isPerformAction=false)
 
 checkAllowedDelete (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedJoin (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false)
 
 _modGroupsCheckAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false)
 
 _checkAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false)
 
 doAudit ($iGroupProfileId, $iFanId, $sAction)
 
 onUpdateImage ($iContentId, $sFiledName, $sFiledValue, $iProfileId=0)
 
 alertAfterAdd ($aContentInfo)
 
 addFollower ($iProfileId1, $iProfileId2)
 
 isFan ($iContentId, $iProfileId=false)
 
 isFanByGroupProfileId ($iGroupProfileId, $iProfileId=false)
 
 isInvited ($sKey, $iGroupProfileId)
 
 isInvitedByProfileId ($iProfileId, $iGroupProfileId)
 
 serviceIsInvited ($iGroupProfileId, $iProfileId=false, $sKey='')
 
 serviceIsNotInvited ($iGroupProfileId, $iProfileId=false, $sKey='')
 
 serviceGetInvitedKey ($iGroupProfileId, $iProfileId=false)
 
 getRole ($iGroupProfileId, $iFanProfileId)
 
 setRole ($iGroupProfileId, $iFanProfileId, $mixedRole, $mixedPeriod=false, $sOrder='')
 
 onSetRole ($iGroupProfileId, $iFanProfileId, $mixedRole)
 
 unsetRole ($iGroupProfileId, $iFanProfileId)
 
 onUnsetRole ($iGroupProfileId, $iFanProfileId, $iRole)
 
 getGroupsByFan ($iProfileId, $mixedRole=false)
 
 getMenuItemTitleByConnection ($sConnection, $sAction, $iContentProfileId, $iInitiatorProfileId=0)
 
- Public Member Functions inherited from BxBaseModProfileModule
 actionDeleteProfileImg ($iFileId, $iContentId, $sFieldPicture)
 
 actionProfileCalendarData ()
 
 actionEmbed ($iContentId, $sUnitTemplate='', $sAddCode='')
 
 serviceGetOptionsRedirectAfterAdd ()
 
 serviceGetOptionsActivation ()
 
 serviceGetThumb ($iContentId, $sTranscoder='')
 
 serviceGetCover ($iContentId, $sTranscoder='')
 
 serviceGetSearchableFieldsExtended ($aInputsAdd=array())
 
 serviceEntityCalendar ($iContentId=0, $sTemplate='calendar.html')
 
 servicePrivateProfileMsg ()
 
 serviceGetContentInfoById ($iContentId)
 
 serviceGetContentInfoByProfileId ($iProfileId)
 
 serviceGetMenuAddonManageToolsProfileStats ($iProfileId=0)
 
 serviceGetMenuAddonFavoritesProfileStats ()
 
 serviceGetSubmenuObject ()
 
 serviceGetMenuSetNameForMenuTrigger ($sMenuTriggerName)
 
 serviceGetSnippetMenuVars ($iProfileId, $bPublic=null, $aParams=[])
 
 serviceGetPageObjectForPageTrigger ($sPageTriggerName)
 
 serviceProfilesSearch ($sTerm, $iLimit)
 
 serviceProfileUnitSafe ($iContentId, $aParams=array())
 
 serviceProfileUnit ($iContentId, $aParams=[])
 
 serviceProfileUnitApi ($iContentId, $aParams=[])
 
 serviceHasImage ($iContentId)
 
 serviceProfilePicture ($iContentId)
 
 serviceProfileAvatar ($iContentId)
 
 serviceProfileAvatarBig ($iContentId)
 
 serviceProfileCover ($iContentId)
 
 serviceProfileUnitCover ($iContentId)
 
 serviceProfileEditUrl ($iContentId)
 
 serviceProfileThumb ($iContentId)
 
 serviceProfileIcon ($iContentId)
 
 serviceProfileName ($iContentId)
 
 serviceProfileSettings ($iContentId)
 
 serviceProfileSettingsSet ($iContentId, $oValue)
 
 serviceProfileCreateUrl ($bAbsolute=true)
 
 serviceProfileUrl ($iContentId)
 
 serviceFormsHelper ()
 
 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)
 
 serviceBrowseConnections ($iProfileId, $sObjectConnections='sys_profiles_friends', $sConnectionsType='content', $iMutual=false, $iDesignBox=BX_DB_PADDING_DEF, $iProfileId2=0)
 
 serviceBrowseRelationsQuick ($iProfileId, $sObjectConnections='sys_profiles_friends', $sConnectionsType='content', $iMutual=false, $iProfileId2=0)
 
 serviceBrowseConnectionsQuick ($iProfileId, $sObjectConnections='sys_profiles_friends', $sConnectionsType='content', $iMutual=false, $iProfileId2=0)
 
 serviceBrowseConnectionsByType ($aParamsCnn, $aParamsBrs=array())
 
 serviceBrowseByAcl ($mixedLevelId, $iDesignBox=BX_DB_PADDING_DEF)
 
 serviceEntityEditCover ($iContentId=0)
 
 serviceEntityCover ($iContentId=0, $aParams=[])
 
 serviceEntityCommentsByProfile ($iProfileId)
 
 serviceProfileMembership ($iContentId=0)
 
 serviceProfileFriends ($iContentId=0)
 
 serviceProfileFriendsMutual ($iContentId=0)
 
 serviceProfileSubscriptions ($iContentId=0, $aParams=array())
 
 serviceProfileSubscribedMe ($iContentId=0)
 
 serviceProfileRelations ($iContentId=0, $aParams=array())
 
 serviceProfileRelatedMe ($iContentId=0)
 
 serviceIsEnableProfileActivationLetter ()
 
 serviceIsEnableRelations ()
 
 serviceDeleteEntityService ($iContentId, $bDeleteWithContent=false)
 
 serviceGetNotificationsPost ($aEvent)
 
 serviceGetNotificationsVote ($aEvent)
 
 serviceGetNotificationsTimelinePostCommon ($aEvent)
 
 serviceGetTimelineProfilePicture ($aEvent, $aBrowseParams=[])
 
 serviceGetTimelineProfilePictureAllowedView ($aEvent)
 
 serviceGetTimelineProfileCover ($aEvent, $aBrowseParams=[])
 
 serviceGetTimelineProfileCoverAllowedView ($aEvent)
 
 serviceGetMenuItemTitleByConnection ($sConnection, $sAction, $iContentProfileId, $iInitiatorProfileId=0)
 
 serviceCheckAllowedProfileView ($iContentId)
 
 serviceCheckAllowedProfileContact ($iContentId)
 
 serviceCheckAllowedPostInProfile ($iContentId, $sPostModule='')
 
 serviceCheckAllowedModuleActionInProfile ($iContentId, $sPostModule, $sActionName)
 
 serviceCheckSpacePrivacy ($iContentId)
 
 serviceCheckAllowedPostForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false)
 
 serviceCheckAllowedContactForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false)
 
 serviceSetViewProfileCover ($oPage, $aProfileInfo)
 
 serviceGetMembers ($sMode='active', $iStart=0, $iPerPage=10)
 
 checkAllowedAdd ($isPerformAction=false)
 
 checkAllowedViewProfileImage ($aDataEntry, $isPerformAction=false)
 
 checkAllowedViewCoverImage ($aDataEntry, $isPerformAction=false)
 
 checkAllowedPost ($aDataEntry, $isPerformAction=false)
 
 checkAllowedContact ($aDataEntry, $isPerformAction=false)
 
 checkAllowedViewMoreMenu (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedFriendAdd (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedFriendRemove (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedRelationAdd (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedRelationRemove (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedRelationsView (&$aDataEntry, $isPerformAction=false)
 
 _modProfileCheckAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedSubscribeRemove (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedSubscriptionsView (&$aDataEntry, $isPerformAction=false)
 
 checkMyself ($iContentId)
 
 isAllowDeleteOrDisable ($iActorProfileId, $iTargetProfileId)
 
 getProfileObject ($iContentId)
 
 alertAfterEdit ($aContentInfo)
 
 getProfileByCurrentUrl ()
 
 getEntryImageData ($aContentInfo, $sField='FIELD_PICTURE', $aTranscoders=array())
 
 getProfileName ($aContentInfo)
 
- Public Member Functions inherited from BxBaseModGeneralModule
 isEntryActive ($aContentInfo)
 
 isEntryAuthor ($aContentInfo, $iProfileId=0)
 
 actionUpdateImage ($sFiledName, $iContentId, $sValue)
 
 actionUpdateImagePosition ($iContentId, $sFiledName, $sH, $sV)
 
 actionApprove ()
 
 serviceSetStatus ($iId, $sValue, $sStatus='')
 
 actionRss ()
 
 actionGetCreatePostForm ()
 
 actionGetNotes ()
 
 actionNested ()
 
 subactionDelete ()
 
 actionAjaxGetProfiles ()
 
 serviceGetProfiles ($sParams)
 
 actionGetBrowsingFilters ()
 
 actionApplyBrowsingFilters ()
 
 serviceIsBadgesAvaliable ()
 
 serviceModuleIcon ()
 
 serviceGetAuthor ($iContentId)
 
 serviceGetPrivacyView ($iContentId)
 
 serviceGetDateAdded ($iContentId)
 
 serviceGetDateChanged ($iContentId)
 
 serviceGetLink ($iContentId)
 
 serviceGetTitle ($iContentId)
 
 serviceGetText ($iContentId)
 
 serviceGetLocation ($iContentId)
 
 serviceGetEmbed ($iContentId)
 
 serviceGetInfo ($iContentId, $bSearchableFieldsOnly=true)
 
 serviceGetInfoApi ($iContentId, $bExtendedUnits=false)
 
 serviceGetAll ($aParams=array())
 
 serviceGetAllByAuthor ($iProfileId)
 
 serviceGetSortableFieldsExtended ($aInputsAdd=array())
 
 serviceGetSearchResultExtended ($aParams, $iStart=0, $iPerPage=0, $bFilterMode=false)
 
 serviceGetSearchableFields ($aInputsAdd=array())
 
 serviceUpdateImage ($sFiledName, $iContentId, $sValue)
 
 serviceUpdateImagePosition ($iContentId, $sFiledName, $sH, $sV)
 
 serviceBrowse ($aParams=array())
 
 serviceBrowseWithCondition ($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())
 
 _serviceBrowseWithParam ($sParamName, $sParamGet, $sParamVal, $aParams=array())
 
 serviceEntityAdd ($iProfile, $aValues, $sDisplay=false)
 
 serviceRedirectAfterAdd ($aContentInfo)
 
 serviceGetObjectForm ($sType, $aParams=array())
 
 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)
 
 serviceEntityActions ($iContentId=0)
 
 serviceEntityReports ($iContentId=0)
 
 serviceReportsCountByStatus ($iStatus)
 
 serviceEntityContext ($iContentId=0)
 
 serviceGetLablesTree ()
 
 serviceGetLablesBreadcrumbs ()
 
 serviceBrowseByLabel ()
 
 serviceBrowseByCategories ($sUnitView, $bEmptyMessage, $bAjaxPaginate, $sMode, $iPerPage)
 
 serviceGetNotificationsPostPendingApproval ($aEvent)
 
 serviceGetNotificationsPostApproved ($aEvent)
 
 serviceGetNotificationsPostPublishFailed ($aEvent)
 
 serviceGetNotificationsPostPublishSucceeded ($aEvent)
 
 serviceGetNotificationsComment ($aEvent)
 
 serviceGetNotificationsReply ($aEvent)
 
 serviceGetNotificationsReaction ($aEvent)
 
 serviceGetNotificationsScoreUp ($aEvent)
 
 serviceGetNotificationsScoreDown ($aEvent)
 
 serviceGetTimelinePostAllowedView ($aEvent)
 
 serviceCheckAllowed ($sAction, $isPerformAction=false)
 
 serviceCheckAllowedWithContent ($sAction, $iContentId, $isPerformAction=false)
 
 serviceCheckAllowedWithContentForProfile ($sAction, $iContentId, $iProfileId, $isPerformAction=false)
 
 serviceCheckAllowedCommentsView ($iContentId, $sObjectComments)
 
 serviceCheckAllowedCommentsPost ($iContentId, $sObjectComments)
 
 serviceGetContentOwnerProfileId ($iContentId)
 
 serviceGetBadges ($iContentId, $bIsSingle=false, $bIsCompact=false)
 
 serviceCategoriesMultiList ($bDisplayEmptyCats=true)
 
 checkAllowedSetThumb ($iContentId=0)
 
 checkAllowedBrowse ()
 
 checkAllowedViewForProfile ($aDataEntry, $iProfileId, $isPerformAction=false)
 
 checkAllowedApprove ($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)
 
 _serviceBrowse ($sMode, $aParams=false, $iDesignBox=BX_DB_PADDING_DEF, $bDisplayEmptyMsg=false, $bAjaxPaginate=true, $sClassSearchResult='SearchResult')
 
 onPublished ($iContentId)
 
 onFailed ($iContentId)
 
 onApprove ($mixedContent)
 
 alertAfterApprove ($aContentInfo)
 
 processMetasAdd ($iContentId)
 
 processMetasEdit ($iContentId, $oForm)
 
 getEntryAllActions ($mixedContent=false, $aParams=[])
 
 getProfileId ()
 
 getProfileInfo ($iUserId=false)
 
 getObjectUser ($iUserId=false)
 
 getObjectFavorite ($sSystem='', $iId=0)
 
 getUserId ()
 
 getUserIp ()
 
 getUserInfo ($iUserId=0)
 
 getUserInfoWithBadges ($iUserId=0)
 
 isMenuItemVisible ($sObject, &$aItem, &$aContentInfo)
 
 _isModerator ($isPerformAction=false)
 
 _isModeratorForProfile ($isPerformAction=false, $iProfileId=false)
 
 _isAdministrator ($isPerformAction=false)
 
 _isAdministratorForProfile ($isPerformAction=false, $iProfileId=false)
 
 _prepareAuditParams ($aContentInfo, $bIsSaveData=true, $aOverrideAuditParams=array())
 
 _getFavoriteListUrl ($iListId, $iProfileId)
 
 getDataAPI ($aData, $aParams=[])
 
- Public Member Functions inherited from BxDolModule
 __construct ($aModule)
 
 isEnabled ()
 
 getName ()
 
 isLogged ()
 
 getUserPassword ()
 
 serviceIsSafeService ($s)
 
 serviceIsPublicService ($s)
 
 serviceGetPublicServices ()
 
- Public Member Functions inherited from iBxDolContentInfoService
 serviceGetAuthor ($iContentId)
 
 serviceGetDateAdded ($iContentId)
 
 serviceGetDateChanged ($iContentId)
 
 serviceGetLink ($iContentId)
 
 serviceGetTitle ($iContentId)
 
 serviceGetText ($iContentId)
 
 serviceGetThumb ($iContentId)
 
 serviceGetInfo ($iContentId, $bSearchableFieldsOnly=true)
 
 serviceGetAll ($aParams=array())
 
 serviceGetSearchResultExtended ($aParams, $iStart=0, $iPerPage=0, $bFilterMode=false)
 
- Public Member Functions inherited from iBxDolProfileService
 serviceProfileUnit ($iContentId)
 

Protected Member Functions

 _serviceRegisterItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder)
 
 _serviceReregisterItem ($iClientId, $iSellerId, $iItemIdOld, $iItemIdNew, $sOrder)
 
 _serviceUnregisterItem ($iClientId, $iSellerId, $iItemId, $iItemCount, $sOrder)
 
 _serviceGetNotification ($aEvent, $sLangKey)
 
 _checkAllowedActionByFan ($sAction, $aDataEntry, $iProfileId=0)
 
 _checkAllowedConnect (&$aDataEntry, $isPerformAction, $sObjConnection, $isMutual, $isInvertResult, $isSwap=false)
 
 _alertParams ($aContentInfo)
 
 _getImagesForTimelinePost ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _prepareProfileAndGroupProfile ($iGroupProfileId, $iInitiatorId)
 
- Protected Member Functions inherited from BxBaseModProfileModule
 _servicePrepareFields ($aFieldsProfile, $aFieldsDefault, $aMap)
 
 _serviceCheckAllowedContactForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false)
 
 _getMenuItemTitleProfilesFriends ($sAction, $iContentProfileId, $iInitiatorProfileId, &$oConnection)
 
 _getMenuItemTitleProfilesSubscriptions ($sAction, $iContentProfileId, $iInitiatorProfileId, &$oConnection)
 
 _buildRssParams ($sMode, $aArgs)
 
 _serviceGetTimelineProfileImage ($aEvent, $aBrowseParams, $aBuildParams)
 
 _serviceGetTimelineProfileImageAllowedView ($aEvent)
 
 _getContentForTimelineProfileImage ($aEvent, $aBrowseParams, $aBuildParams, $aContentInfo, $aFileInfo)
 
 _entityComments ($sObject, $iId=0)
 
 _getContent ($iContentId=0, $sFuncGetContent='getContentInfoById')
 
- Protected Member Functions inherited from BxBaseModGeneralModule
 _prepareBrowsingFiltersParamsGet ($mParams=false)
 
 _serviceGetNotificationsScore ($sType, $aEvent)
 
 _serviceCheckAllowedViewForProfile ($aDataEntry, $isPerformAction, $iProfileId)
 
 _serviceBrowseQuick ($aProfiles, $iStart=0, $iLimit=4, $aAdditionalParams=array())
 
 _serviceEntityForm ($sFormMethod, $iContentId=0, $sDisplay=false, $sCheckFunction=false, $bErrorMsg=true)
 
 _serviceTemplateFunc ($sFunc, $iContentId, $sFuncGetContent='getContentInfoById')
 
 _serviceTemplateFuncEx ($sFunc, $iContentId, $aParams=array())
 
 _getApproveForm ($iContentId, $aContentInfo)
 
 _sendApproveMessage ($iContentId, $aContentInfo, &$oForm)
 
 _processModerationNotifications ($aContentInfo)
 
 _rss ($aArgs, $sClass='SearchResult')
 
 _getContentForTimelinePost ($aEvent, $aContentInfo, $aBrowseParams=array())
 
 _getImagesForTimelinePostAttach ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getVideosForTimelinePost ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getVideosForTimelinePostAttach ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getFilesForTimelinePost ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getFilesForTimelinePostAttach ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getFields ($iContentId)
 
 _getFieldValue ($sField, $iContentId)
 
 _getFieldValueThumb ($sField, $iContentId, $sTranscoder='')
 
 _prepareResponse ($aResponse, $bAsJson=false, $aAdditional=array())
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolModule
static getInstance ($sName)
 
static getTitle ($sUri)
 
static getTitleKey ($sUri)
 
- Public Attributes inherited from BxDolModule
 $_aModule
 
 $_oDb
 
 $_oTemplate
 
 $_oConfig
 
- Protected Attributes inherited from BxBaseModProfileModule
 $_iAccountId
 
- Protected Attributes inherited from BxBaseModGeneralModule
 $_bIsApi
 
 $_iProfileId
 
 $_aSearchableNamesExcept
 
 $_aFormParams
 
 $_aBrowsingFiltersKeys
 

Detailed Description

Groups profiles module.

Constructor & Destructor Documentation

◆ __construct()

BxBaseModGroupsModule::__construct ( & $aModule)

Reimplemented from BxBaseModProfileModule.

Member Function Documentation

◆ _alertParams()

BxBaseModGroupsModule::_alertParams ( $aContentInfo)
protected

Get array of params to be passed in Add/Edit Alert.

Reimplemented from BxBaseModProfileModule.

◆ _checkAllowedConnect()

BxBaseModGroupsModule::_checkAllowedConnect ( & $aDataEntry,
$isPerformAction,
$sObjConnection,
$isMutual,
$isInvertResult,
$isSwap = false )
protected

Reimplemented from BxBaseModProfileModule.

◆ _checkAllowedSubscribeAdd()

BxBaseModGroupsModule::_checkAllowedSubscribeAdd ( & $aDataEntry,
$isPerformAction = false )

◆ _getImagesForTimelinePost()

BxBaseModGroupsModule::_getImagesForTimelinePost ( $aEvent,
$aContentInfo,
$sUrl,
$aBrowseParams = array() )
protected

Reimplemented from BxBaseModGeneralModule.

◆ _modGroupsCheckAllowedSubscribeAdd()

BxBaseModGroupsModule::_modGroupsCheckAllowedSubscribeAdd ( & $aDataEntry,
$isPerformAction = false )

Note. Is mainly needed for internal usage. Access level is 'public' to allow outer calls from alerts.

Reimplemented in BxCnlModule, and BxSpacesModule.

◆ actionAjaxGetInitialMembers()

BxBaseModGroupsModule::actionAjaxGetInitialMembers ( )

Get possible recipients for start conversation form

◆ actionProcessInvite()

BxBaseModGroupsModule::actionProcessInvite ( $sKey,
$iGroupProfileId,
$bAccept )

Process Process Invitation

◆ alertAfterAdd()

BxBaseModGroupsModule::alertAfterAdd ( $aContentInfo)

Hooks:

'system', 'prepare_alert_params' - hook to override alert (hook) params

  • $unit_name - equals system
  • $action - equals prepare_alert_params
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:
    • unit - [string] unit name
    • action - [string] by ref, action, can be overridden in hook processing
    • object_id - [int] by ref, object id, can be overridden in hook processing
    • sender_id - [int] by ref, action performer profile id, can be overridden in hook processing
    • extras - [array] by ref, extra params array as key&value pairs, can be overridden in hook processing
      HOOKS
      'system', 'prepare_alert_params' - hook to override alert (hook) params

Hooks:

'{module_name}', 'added' - hook after context was added (published)

  • $unit_name - module name
  • $action - equals added
  • $object_id - context id
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:

Hooks:

'{module_name}', 'deferred' - hook after context was added with pending approval status

It's equivalent to '{module_name}', 'added' - hook after context was added (published)

HOOKS
'{module_name}', 'deferred' - hook after context was added with pending approval status

Reimplemented from BxBaseModProfileModule.

◆ checkAllowedChangeCover()

BxBaseModGroupsModule::checkAllowedChangeCover ( $aDataEntry,
$isPerformAction = false )

Check if user can change cover image

Reimplemented from BxBaseModProfileModule.

◆ checkAllowedCompose()

BxBaseModGroupsModule::checkAllowedCompose ( & $aDataEntry,
$isPerformAction = false )
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

Reimplemented from BxBaseModProfileModule.

Reimplemented in BxCnlModule, and BxOrgsModule.

◆ checkAllowedDelete()

BxBaseModGroupsModule::checkAllowedDelete ( & $aDataEntry,
$isPerformAction = false )
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

Reimplemented from BxBaseModProfileModule.

◆ checkAllowedEdit()

BxBaseModGroupsModule::checkAllowedEdit ( $aDataEntry,
$isPerformAction = false )
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

Reimplemented from BxBaseModProfileModule.

◆ checkAllowedFanAdd()

BxBaseModGroupsModule::checkAllowedFanAdd ( & $aDataEntry,
$isPerformAction = false )
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

Hooks:

'system', 'check_allowed_fan_add' - hook to override the result of checking whether 'fan add' to context action is allowed or not to currently logged in user

◆ checkAllowedFanRemove()

BxBaseModGroupsModule::checkAllowedFanRemove ( & $aDataEntry,
$isPerformAction = false )
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

◆ checkAllowedSubscribeAdd()

BxBaseModGroupsModule::checkAllowedSubscribeAdd ( & $aDataEntry,
$isPerformAction = false )
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

Hooks:

'system', 'check_allowed_subscribe_add' - hook to override the result of checking whether currently logged in user can subscribe (follow) the context or not

Hooks:

'system', 'check_allowed_subscribe_add' - hook to override the result of checking whether currently logged in user can subscribe (follow) the context or not

It's equivalent to 'system', 'check_allowed_view' - hook to override the result of checking whether 'view' action is allowed or not to specified profile

HOOKS
'system', 'check_allowed_subscribe_add' - hook to override the result of checking whether currently logged in user can subscribe (follow) the context or not

Reimplemented from BxBaseModProfileModule.

◆ checkAllowedUsePaidJoin()

BxBaseModGroupsModule::checkAllowedUsePaidJoin ( $isPerformAction = false)
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

◆ checkAllowedView()

BxBaseModGroupsModule::checkAllowedView ( $aDataEntry,
$isPerformAction = false )
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden.

Reimplemented from BxBaseModProfileModule.

◆ decodeDataAPI()

BxBaseModGroupsModule::decodeDataAPI ( $aData,
$aParams = [] )

Reimplemented from BxBaseModProfileModule.

◆ getMenuItemTitleByConnection()

BxBaseModGroupsModule::getMenuItemTitleByConnection ( $sConnection,
$sAction,
$iContentProfileId,
$iInitiatorProfileId = 0 )

Reimplemented from BxBaseModProfileModule.

◆ isAllowedActionByRole()

BxBaseModGroupsModule::isAllowedActionByRole ( $mAction,
$aDataEntry,
$iGroupProfileId,
$iProfileId )

Hooks:

'system', 'check_allowed_action_by_role' - hook to override the result of checking whether an action is allowed or not to context member by his role in the context

  • $unit_name - equals system
  • $action - equals check_allowed_action_by_role
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:

◆ isPaidJoinByProfile()

BxBaseModGroupsModule::isPaidJoinByProfile ( $iGroupProfileId)

Is Paid Join enabled as is and whether a group has pricing plans added.

Parameters
type$iGroupProfileId- Group profile ID.
Returns
boolean

◆ isPaidJoinByProfileForProfile()

BxBaseModGroupsModule::isPaidJoinByProfileForProfile ( $iGroupProfileId,
$iProfileId = 0 )

Is Paid Join enabled in the group and whether a profile can use it.

Parameters
type$iGroupProfileId- Group profile ID.
type$iProfileId- Profile ID of the user who wants to join.
Returns
boolean

◆ onSetRole()

BxBaseModGroupsModule::onSetRole ( $iGroupProfileId,
$iFanProfileId,
$mixedRole )

Hooks:

'{module_name}', 'set_role' - hook after 'set role' action was applied to context member

  • $unit_name - module name
  • $action - equals set_role
  • $object_id - context id
  • $sender_id - context profile id
  • $extra_params - array of additional params with the following array keys:

◆ onUnsetRole()

BxBaseModGroupsModule::onUnsetRole ( $iGroupProfileId,
$iFanProfileId,
$iRole )

Hooks:

'{module_name}', 'set_role' - hook after 'set role' action was applied to context member

  • $unit_name - module name
  • $action - equals set_role
  • $object_id - context id
  • $sender_id - context profile id
  • $extra_params - array of additional params with the following array keys:

◆ onUpdateImage()

BxBaseModGroupsModule::onUpdateImage ( $iContentId,
$sFiledName,
$sFiledValue,
$iProfileId = 0 )

Hooks:

'{module_name}', 'context_picture_changed' - hook after context picture was changed

  • $unit_name - module name
  • $action - equals context_picture_changed
  • $object_id - context id
  • $sender_id - profile id who performed the action
  • $extra_params - array of additional params with the following array keys:

Hooks:

'{module_name}', 'context_cover_changed' - hook after context cover was changed

It's equivalent to '{module_name}', 'context_picture_changed' - hook after context picture was changed

HOOKS
'{module_name}', 'context_cover_changed' - hook after context cover was changed

Reimplemented from BxBaseModProfileModule.

◆ serviceActAsProfile()

BxBaseModGroupsModule::serviceActAsProfile ( )

Check if this module entry can be used as profile

Reimplemented from BxBaseModProfileModule.

Reimplemented in BxOrgsModule.

◆ serviceAddMutualConnection()

BxBaseModGroupsModule::serviceAddMutualConnection ( $iGroupProfileId,
$iInitiatorId,
$bSendInviteOnly = false )

Hooks:

'{module_name}', 'join_invitation' - hook before adding (sending) new join to context invitation

  • $unit_name - module name
  • $action - equals join_invitation
  • $object_id - context id
  • $sender_id - context profile id
  • $extra_params - array of additional params with the following array keys:

'Invitation Received' alert for Notifications module. Note. It's essential to use Recipient ($iInitiatorId) in 'object_author_id' parameter. In this case notification will be received by Recipient profile.

Hooks:

'{module_name}', 'join_invitation_notif' - hook before adding new join to context invitation. Is needed for Notifications module.

Hooks:

'{module_name}', 'join_request' - hook before adding new join to context request

  • $unit_name - module name
  • $action - equals join_request
  • $object_id - context id
  • $sender_id - context profile id
  • $extra_params - array of additional params with the following array keys:

Hooks:

'{module_name}', 'join_request_accepted' - hook before accepting join to context request

It's equivalent to '{module_name}', 'join_request' - hook before adding new join to context request

HOOKS
'{module_name}', 'join_request_accepted' - hook before accepting join to context request

Hooks:

'{module_name}', 'fan_added' - hook before adding (registering) new context member

It's equivalent to '{module_name}', 'join_request' - hook before adding new join to context request

HOOKS
'{module_name}', 'fan_added' - hook before adding (registering) new context member

◆ serviceCheckAllowedViewForProfile()

BxBaseModGroupsModule::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.

Parameters
type$aDataEntry- entry which the action will be performed for
type$isPerformAction- perform or just check the action
type$iProfileId- performer's profile ID
Returns
integer - one of CHECK_ACTION_RESULT_XXX constants.

Reimplemented from BxBaseModProfileModule.

◆ serviceDeleteProfileFromFansAndAdmins()

BxBaseModGroupsModule::serviceDeleteProfileFromFansAndAdmins ( $iProfileId)

Delete profile from fans and admins tables

Parameters
$iProfileIdprofile id

Reimplemented in BxCnlModule.

◆ serviceEntityAllActions()

BxBaseModGroupsModule::serviceEntityAllActions ( $mixedContent = false,
$aParams = array() )

Entry actions and social sharing block

Reimplemented from BxBaseModGeneralModule.

◆ serviceEntitySocialSharing()

BxBaseModGroupsModule::serviceEntitySocialSharing ( $mixedContent = false,
$aParams = array() )

Entry social sharing block

Reimplemented from BxBaseModProfileModule.

◆ serviceGetMenuAddonManageTools()

BxBaseModGroupsModule::serviceGetMenuAddonManageTools ( )

Reimplemented from BxBaseModProfileModule.

◆ serviceGetNotificationsData()

BxBaseModGroupsModule::serviceGetNotificationsData ( )

Data for Notifications module

Reimplemented from BxBaseModProfileModule.

Reimplemented in BxCnlModule, and BxEventsModule.

◆ serviceGetNotificationsFanAdded()

BxBaseModGroupsModule::serviceGetNotificationsFanAdded ( $aEvent)

Notification about new member in the group

◆ serviceGetNotificationsJoinInvitation()

BxBaseModGroupsModule::serviceGetNotificationsJoinInvitation ( $aEvent)

Notification about new invitation to join the group

◆ serviceGetNotificationsJoinRequest()

BxBaseModGroupsModule::serviceGetNotificationsJoinRequest ( $aEvent)

Notification about new member requst in the group

Reimplemented in BxOrgsModule.

◆ serviceGetParticipatingProfiles()

BxBaseModGroupsModule::serviceGetParticipatingProfiles ( $iProfileId,
$aConnectionObjects = false )

◆ serviceGetPaymentData()

BxBaseModGroupsModule::serviceGetPaymentData ( )

Integration with Payments.

◆ serviceGetSafeServices()

BxBaseModGroupsModule::serviceGetSafeServices ( )

Reimplemented from BxBaseModProfileModule.

◆ serviceGetSearchResultUnit()

BxBaseModGroupsModule::serviceGetSearchResultUnit ( $iContentId,
$sUnitTemplate = '' )

get_search_result_unit

Reimplemented from BxBaseModProfileModule.

Reimplemented in BxOrgsModule.

◆ serviceGetSpaceTitle()

BxBaseModGroupsModule::serviceGetSpaceTitle ( )

◆ serviceGetTimelineData()

BxBaseModGroupsModule::serviceGetTimelineData ( )

Data for Timeline module

Reimplemented from BxBaseModProfileModule.

Reimplemented in BxCnlModule, and BxOrgsModule.

◆ serviceGetTimelinePost()

BxBaseModGroupsModule::serviceGetTimelinePost ( $aEvent,
$aBrowseParams = array() )

Entry post for Timeline module

Reimplemented from BxBaseModGeneralModule.

Reimplemented in BxEventsModule.

◆ serviceIsAdmin()

BxBaseModGroupsModule::serviceIsAdmin ( $iGroupProfileId,
$iProfileId = false )

check if provided profile is admin of the group

◆ serviceIsFan()

BxBaseModGroupsModule::serviceIsFan ( $iGroupProfileId,
$iProfileId = false )

check if provided profile is member of the group

◆ serviceIsGroupProfile()

BxBaseModGroupsModule::serviceIsGroupProfile ( )

Check if this module is group profile

◆ serviceManageTools()

BxBaseModGroupsModule::serviceManageTools ( $sType = 'common')

Reimplemented from BxBaseModGeneralModule.

◆ servicePrepareFields()

BxBaseModGroupsModule::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

See also
BxBaseModGeneralModule\serviceEntityAdd
Parameters
$aFieldsProfilefields in soem universal format.
Returns
array which is ready to use for particular module

Hooks:

'{module_name}', 'prepare_fields' - hook to override prepared profile fields

  • $unit_name - module name
  • $action - equals prepare_fields
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:

Reimplemented from BxBaseModProfileModule.

Reimplemented in BxOrgsModule.

◆ serviceReassignEntitiesByAuthor()

BxBaseModGroupsModule::serviceReassignEntitiesByAuthor ( $iProfileId,
$iAuthorId = 0 )

Reset group's author when author profile is deleted

Parameters
$iProfileIdauthor profile id
$iAuthorIdnew author profile id
Returns
number of changed items

◆ serviceReassignEntityAuthor()

BxBaseModGroupsModule::serviceReassignEntityAuthor ( $iContentId,
$iAuthorId = 0 )

Reset group's author for particular group

Parameters
$iContentIdgroup id @parem $iAuthorId new author profile ID
Returns
false of error, or number of updated records on success

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