UNA
BxCnlModule Class Reference
Inheritance diagram for BxCnlModule:
BxBaseModGroupsModule BxBaseModProfileModule BxBaseModGeneralModule iBxDolContentInfoService iBxDolProfileService BxDolModule BxDol

Public Member Functions

 processHashtag ($sHashtag, $sModuleName, $iContentId, $iSenderId=0)
 
 serviceEntityBreadcrumb ($iContentId=0)
 
 serviceEntityParent ($iContentId=0)
 
 serviceEntityChilds ($iContentId=0)
 
 serviceSearchResultByHashtag ($iContentId=0)
 
 serviceGetTimelineData ()
 
 serviceGetNotificationsData ()
 
 serviceBrowseAuthorChannels ($iProfileId=0, $aParams=array())
 
- Public Member Functions inherited from BxBaseModGroupsModule
 actionAjaxGetInitialMembers ()
 
 actionProcessInvite ($sKey, $iGroupProfileId, $bAccept)
 
 serviceGetSpaceTitle ()
 
 serviceGetParticipatingProfiles ($iProfileId, $aConnectionObjects=false)
 
 serviceActAsProfile ()
 
 serviceIsGroupProfile ()
 
 serviceIsFan ($iGroupProfileId, $iProfileId=false)
 
 serviceIsAdmin ($iGroupProfileId, $iProfileId=false)
 
 serviceDeleteProfileFromFansAndAdmins ($iProfileId)
 
 serviceReassignEntityAuthor ($iContentId, $iAuthorId=0)
 
 serviceEntityAllActions ($mixedContent=false, $aParams=array())
 
 serviceReassignEntitiesByAuthor ($iProfileId, $iAuthorId=0)
 
 serviceEntitySocialSharing ($mixedContent=false, $aParams=array())
 
 isPaidJoinByProfileForProfile ($iGroupProfileId, $iProfileId=0)
 
 isPaidJoinByProfile ($iGroupProfileId)
 
 serviceGetPaymentData ()
 
 serviceGetNotificationsData ()
 
 serviceGetNotificationsJoinInvitation ($aEvent)
 
 serviceGetNotificationsJoinRequest ($aEvent)
 
 serviceGetNotificationsFanAdded ($aEvent)
 
 serviceGetTimelineData ()
 
 serviceGetTimelinePost ($aEvent, $aBrowseParams=array())
 
 checkAllowedUsePaidJoin ($isPerformAction=false)
 
 checkAllowedView ($aDataEntry, $isPerformAction=false)
 
 checkAllowedCompose (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedFanAdd (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedFanRemove (&$aDataEntry, $isPerformAction=false)
 
 _modGroupsCheckAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false)
 
 _checkAllowedSubscribeAdd (&$aDataEntry, $isPerformAction=false)
 
- Public Member Functions inherited from BxBaseModProfileModule
 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)
 

Detailed Description

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

Channels Channels UnaModules Channels profiles module.

Member Function Documentation

◆ processHashtag()

BxCnlModule::processHashtag (   $sHashtag,
  $sModuleName,
  $iContentId,
  $iSenderId = 0 
)

Process Hash Tag

Parameters
string$sHashtag- hashtag to be processed.
string$sModuleName- module name.
integer$iContentId- ID of the content which has the hashtag.
integer$iSenderId- action's sender (author) id.

◆ serviceBrowseAuthorChannels()

BxCnlModule::serviceBrowseAuthorChannels (   $iProfileId = 0,
  $aParams = array() 
)

Returns profile's subscribed channels React Jot

Parameters
int$iProfileId
array$aParams
Returns
array

◆ serviceEntityBreadcrumb()

BxCnlModule::serviceEntityBreadcrumb (   $iContentId = 0)

◆ serviceEntityChilds()

BxCnlModule::serviceEntityChilds (   $iContentId = 0)

◆ serviceEntityParent()

BxCnlModule::serviceEntityParent (   $iContentId = 0)

◆ serviceGetNotificationsData()

BxCnlModule::serviceGetNotificationsData ( )

Data for Notifications module

◆ serviceGetTimelineData()

BxCnlModule::serviceGetTimelineData ( )

Data for Timeline module

◆ serviceGetTimelinePostHashtag()

BxCnlModule::serviceGetTimelinePostHashtag (   $aEvent,
  $aBrowseParams = [] 
)

Prepare fake event array (only mandatory parameters) to get necessary data (related to an 'original' event with hashtag/label) from associated content module.

Note. The context shouldn't be changed therefore use input event's context (owner_id) in returned results.

◆ serviceSearchResultByHashtag()

BxCnlModule::serviceSearchResultByHashtag (   $iContentId = 0)

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