UNA
Loading...
Searching...
No Matches
BxForumModule Class Reference
Inheritance diagram for BxForumModule:
BxBaseModTextModule BxBaseModGeneralModule iBxDolContentInfoService BxDolModule BxDol

Public Member Functions

 __construct (&$aModule)
 
 decodeDataApi ($aData, $bExtended=false)
 
 sortParticipants ($aParticipants, $iProfileIdLastComment, $iProfileIdAuthor, $iProfileIdCurrent=0)
 
 actionUpdateStatus ($sAction='', $iContentId=0)
 
 actionAjaxGetAuthors ()
 
 serviceGetSafeServices ()
 
 serviceGetSearchableFields ($aInputsAdd=array())
 
 serviceGetInfo ($iContentId, $bSearchableFieldsOnly=true)
 
 serviceBrowseNew ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $bShowHeader=false)
 
 serviceBrowseLatest ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $bShowHeader=true)
 
 serviceBrowseFeatured ($sUnitView=false, $bEmptyMessage=false, $bAjaxPaginate=true, $bShowHeader=false)
 
 serviceBrowseTop ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $bShowHeader=true)
 
 serviceBrowsePopular ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $bShowHeader=false)
 
 serviceBrowseUpdated ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $bShowHeader=false)
 
 serviceBrowsePartaken ($iProfileId=0, $aParams=[])
 
 serviceBrowseIndex ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $bShowHeader=false)
 
 serviceBrowseAuthor ($iProfileId=0, $aParams=array())
 
 serviceBrowseCategory ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $aParams=[])
 
 serviceBrowseKeyword ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true, $bShowHeader=false)
 
 serviceBrowseSearchResults ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true)
 
 serviceGetDiscussionsNum ($iProfileId=0)
 
 serviceGetUnrepliedDiscussionsNum ($iProfileId=0)
 
 serviceTriggerCommentPost ($iContentId, $iProfileId, $iCommentId, $iTimestamp=0, $sCommentText='')
 
 serviceEntityAuthor ($iContentId=0)
 
 serviceEntityParticipants ($iContentId=0)
 
 serviceSearch ()
 
 checkAllowedSubscribe (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedUnsubscribe (&$aDataEntry, $isPerformAction=false)
 
 checkAllowedStickAnyEntry ($aDataEntry, $isPerformAction=false)
 
 checkAllowedUnstickAnyEntry ($aDataEntry, $isPerformAction=false)
 
 checkAllowedResolveAnyEntry ($aDataEntry, $isPerformAction=false)
 
 checkAllowedUnresolveAnyEntry ($aDataEntry, $isPerformAction=false)
 
 checkAllowedLockAnyEntry ($aDataEntry, $isPerformAction=false)
 
 checkAllowedUnlockAnyEntry ($aDataEntry, $isPerformAction=false)
 
 checkAllowedHideAnyEntry ($aDataEntry, $isPerformAction=false)
 
 checkAllowedUnhideAnyEntry ($aDataEntry, $isPerformAction=false)
 
- Public Member Functions inherited from BxBaseModTextModule
 actionEmbedPoll ($iPollId=0)
 
 actionEmbedPolls ($iId=0)
 
 actionGetPoll ()
 
 actionDeletePoll ()
 
 actionGetPollForm ()
 
 actionSubmitPollForm ()
 
 actionGetAttachLinkForm ()
 
 actionSubmitAttachLinkForm ()
 
 actionAddAttachLink ()
 
 actionDeleteAttachLink ()
 
 actionFileEmbedVideo ($iFileId)
 
 actionFileEmbedSound ($iFileId)
 
 serviceManageTools ($sType='common')
 
 serviceCategoriesMultiListContext ($iProfileId=0, $bDisplayEmptyCats=true)
 
 serviceGetBlockPollAnswers ($iPollId, $bForceDisplay=false)
 
 serviceGetBlockPollResults ($iPollId)
 
 serviceMediaExif ($iMediaId=0)
 
 serviceGetThumb ($iContentId, $sTranscoder='')
 
 serviceGetMenuAddonManageTools ()
 
 serviceGetMenuAddonManageToolsProfileStats ($iProfileId=0)
 
 serviceBrowsePublic ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true)
 
 serviceBrowsePopular ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true)
 
 serviceBrowseTop ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true)
 
 serviceBrowseUpdated ($sUnitView=false, $bEmptyMessage=true, $bAjaxPaginate=true)
 
 serviceEntityPolls ($iContentId=0)
 
 serviceEntityBreadcrumb ($iContentId=0)
 
 serviceDeleteEntitiesByAuthor ($iProfileId)
 
 checkAllowedSetThumb ($iContentId=0)
 
 isAllowedApprove ($mixedContent, $isPerformAction=false)
 
 checkAllowedApprove ($mixedContent, $isPerformAction=false)
 
 isPollPerformed ($iObjectId, $iAuthorId=0, $iAuthorIp=0)
 
 addAttachLink ($aValues, $sDisplay=false)
 
 deleteAttachLinks ($iId)
 
 deleteAttachLinksUnused ($iProfileId)
 
 getFormAttachLink ($iContentId=0)
 
 onApprove ($mixedContent)
 
 alertAfterAdd ($aContentInfo)
 
 alertAfterEdit ($aContentInfo)
 
 getPollForm ()
 
 getEntryImageData ($aContentInfo, $sField='FIELD_THUMB', $aTranscoders=array())
 
 decodeDataAPI ($aData, $aParams=[])
 
 serviceIsAllowedPostInContext ()
 
- 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 ()
 
 actionEmbed ($iContentId, $sUnitTemplate='', $sAddCode='')
 
 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)
 
 serviceGetInfoApi ($iContentId, $bExtendedUnits=false)
 
 serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='')
 
 serviceGetAll ($aParams=array())
 
 serviceGetAllByAuthor ($iProfileId)
 
 serviceGetSortableFieldsExtended ($aInputsAdd=array())
 
 serviceGetSearchableFieldsExtended ($aInputsAdd=array())
 
 serviceGetSearchResultExtended ($aParams, $iStart=0, $iPerPage=0, $bFilterMode=false)
 
 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())
 
 serviceFavoritesListActions ()
 
 serviceFavoritesListInfo ($aParams=array())
 
 serviceBrowseContext ($iProfileId=0, $aParams=array())
 
 _serviceBrowseWithParam ($sParamName, $sParamGet, $sParamVal, $aParams=array())
 
 serviceFormsHelper ()
 
 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 ()
 
 serviceGetLablesBreadcrumbs ()
 
 serviceBrowseByLabel ()
 
 serviceBrowseByCategories ($sUnitView, $bEmptyMessage, $bAjaxPaginate, $sMode, $iPerPage)
 
 serviceGetNotificationsData ()
 
 serviceGetNotificationsPost ($aEvent)
 
 serviceGetNotificationsPostPendingApproval ($aEvent)
 
 serviceGetNotificationsPostApproved ($aEvent)
 
 serviceGetNotificationsPostPublishFailed ($aEvent)
 
 serviceGetNotificationsPostPublishSucceeded ($aEvent)
 
 serviceGetNotificationsComment ($aEvent)
 
 serviceGetNotificationsReply ($aEvent)
 
 serviceGetNotificationsVote ($aEvent)
 
 serviceGetNotificationsReaction ($aEvent)
 
 serviceGetNotificationsScoreUp ($aEvent)
 
 serviceGetNotificationsScoreDown ($aEvent)
 
 serviceGetTimelineData ()
 
 serviceGetTimelinePost ($aEvent, $aBrowseParams=array())
 
 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)
 
 serviceCheckAllowedViewForProfile ($aDataEntry, $isPerformAction=false, $iProfileId=false)
 
 checkAllowedBrowse ()
 
 checkAllowedView ($aDataEntry, $isPerformAction=false)
 
 checkAllowedViewForProfile ($aDataEntry, $iProfileId, $isPerformAction=false)
 
 checkAllowedAdd ($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)
 
 _serviceBrowse ($sMode, $aParams=false, $iDesignBox=BX_DB_PADDING_DEF, $bDisplayEmptyMsg=false, $bAjaxPaginate=true, $sClassSearchResult='SearchResult')
 
 onPublished ($iContentId)
 
 onFailed ($iContentId)
 
 onUpdateImage ($iContentId, $sFiledName, $sFiledValue, $iProfileId=0)
 
 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)
 
 serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='')
 
 serviceGetAll ($aParams=array())
 
 serviceGetSearchableFieldsExtended ($aInputsAdd=array())
 
 serviceGetSearchResultExtended ($aParams, $iStart=0, $iPerPage=0, $bFilterMode=false)
 

Protected Member Functions

 _checkAllowedConnect (&$aDataEntry, $isPerformAction, $sObjConnection, $isMutual, $isInvertResult)
 
 _checkAllowedAction ($sAction, $aDataEntry, $isPerformAction=false)
 
 _serviceBrowseTable ($aParams, $isDisplayHeader=true)
 
 _getSearchAuthorDescriptor ($aAutor)
 
 _getSearchKeywordDescriptor ($sKeyword)
 
- Protected Member Functions inherited from BxBaseModTextModule
 _addLink (&$oForm)
 
 _alertParams ($aContentInfo)
 
 _alertParamsAdd ($aContentInfo)
 
 _alertParamsEdit ($aContentInfo)
 
 _getAlertParamTimelineGroup ($aContentInfo)
 
 _getImagesForTimelinePost ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getImagesForTimelinePostAttach ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getImagesForTimelinePostAttachInner ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getVideosForTimelinePostAttach ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getFilesForTimelinePostAttach ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getContentForTimelinePost ($aEvent, $aContentInfo, $aBrowseParams=array())
 
 _buildRssParams ($sMode, $aArgs)
 
- 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')
 
 _getContent ($iContentId=0, $sFuncGetContent=true)
 
 _getVideosForTimelinePost ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _getFilesForTimelinePost ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=array())
 
 _entityComments ($sObject, $iId=0)
 
 _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 BxBaseModGeneralModule
 $_bIsApi
 
 $_iProfileId
 
 $_aSearchableNamesExcept
 
 $_aFormParams
 
 $_aBrowsingFiltersKeys
 

Constructor & Destructor Documentation

◆ __construct()

BxForumModule::__construct ( & $aModule)

Reimplemented from BxBaseModTextModule.

Member Function Documentation

◆ _checkAllowedAction()

BxForumModule::_checkAllowedAction ( $sAction,
$aDataEntry,
$isPerformAction = false )
protected
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden. So make sure to make strict(===) checking.

◆ actionUpdateStatus()

BxForumModule::actionUpdateStatus ( $sAction = '',
$iContentId = 0 )

Action methods

◆ serviceBrowseAuthor()

BxForumModule::serviceBrowseAuthor ( $iProfileId = 0,
$aParams = array() )

browse_author

Reimplemented from BxBaseModTextModule.

◆ serviceBrowseCategory()

BxForumModule::serviceBrowseCategory ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$aParams = [] )

◆ serviceBrowseFeatured()

BxForumModule::serviceBrowseFeatured ( $sUnitView = false,
$bEmptyMessage = false,
$bAjaxPaginate = true,
$bShowHeader = false )

◆ serviceBrowseIndex()

BxForumModule::serviceBrowseIndex ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$bShowHeader = false )

◆ serviceBrowseKeyword()

BxForumModule::serviceBrowseKeyword ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$bShowHeader = false )

◆ serviceBrowseLatest()

BxForumModule::serviceBrowseLatest ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$bShowHeader = true )

◆ serviceBrowseNew()

BxForumModule::serviceBrowseNew ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$bShowHeader = false )

◆ serviceBrowsePartaken()

BxForumModule::serviceBrowsePartaken ( $iProfileId = 0,
$aParams = [] )

◆ serviceBrowsePopular()

BxForumModule::serviceBrowsePopular ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$bShowHeader = false )

◆ serviceBrowseSearchResults()

BxForumModule::serviceBrowseSearchResults ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true )

◆ serviceBrowseTop()

BxForumModule::serviceBrowseTop ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$bShowHeader = true )

◆ serviceBrowseUpdated()

BxForumModule::serviceBrowseUpdated ( $sUnitView = false,
$bEmptyMessage = true,
$bAjaxPaginate = true,
$bShowHeader = false )

◆ serviceEntityAuthor()

BxForumModule::serviceEntityAuthor ( $iContentId = 0)

entity_author

Reimplemented from BxBaseModTextModule.

◆ serviceEntityParticipants()

BxForumModule::serviceEntityParticipants ( $iContentId = 0)

◆ serviceGetDiscussionsNum()

BxForumModule::serviceGetDiscussionsNum ( $iProfileId = 0)

◆ serviceGetInfo()

BxForumModule::serviceGetInfo ( $iContentId,
$bSearchableFieldsOnly = true )

get_info

Reimplemented from BxBaseModGeneralModule.

◆ serviceGetSafeServices()

BxForumModule::serviceGetSafeServices ( )

Service methods

Reimplemented from BxBaseModTextModule.

◆ serviceGetSearchableFields()

BxForumModule::serviceGetSearchableFields ( $aInputsAdd = array())

◆ serviceGetUnrepliedDiscussionsNum()

BxForumModule::serviceGetUnrepliedDiscussionsNum ( $iProfileId = 0)

◆ serviceSearch()

BxForumModule::serviceSearch ( )

◆ serviceTriggerCommentPost()

BxForumModule::serviceTriggerCommentPost ( $iContentId,
$iProfileId,
$iCommentId,
$iTimestamp = 0,
$sCommentText = '' )

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