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

Public Member Functions

 __construct (&$aModule)
 getStreamEngine ()
 actionNginxOnRecordDone ()
 actionNginxOnPublish ()
 actionEmbed ($iContentId, $sUnitTemplate='', $sAddCode='')
 actionEmbedStream ($iContentId=0)
 actionStreamViewers ($iContentId=0)
 serviceStreamBroadcast ($iContentId=0)
 serviceStreamViewers ($iContentId=0)
 serviceStreamPlayer ($iContentId=0)
 serviceStreamRecordings ($iContentId=0)
 serviceStreamRtmpSettings ($iContentId=0)
 serviceGetTimelinePost ($aEvent, $aBrowseParams=array())
 serviceCheckAllowedCommentsPost ($iContentId, $sObjectComments)
 serviceCheckAllowedCommentsView ($iContentId, $sObjectComments)
 checkAllowedSetThumb ($iContentId=0)
 serviceGetBadges ($iContentId, $bIsSingle=false, $bIsCompact=false)
 onStreamStarted ($iContentId, $aContentInfo=array())
 onStreamStopped ($iContentId, $aContentInfo=array())
 checkAllowedRecord ($isPerformAction=false, $iProfileId=false)
Public Member Functions inherited from BxBaseModTextModule
 actionEmbedPoll ($iPollId=0)
 actionEmbedPolls ($iId=0)
 actionGetPoll ()
 actionDeletePoll ()
 actionGetPollForm ()
 actionSubmitPollForm ()
 actionFileEmbedVideo ($iFileId)
 actionFileEmbedSound ($iFileId)
 serviceGetSafeServices ()
 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)
 serviceBrowseAuthor ($iProfileId=0, $aParams=array())
 serviceEntityAuthor ($iContentId=0)
 serviceEntityPolls ($iContentId=0)
 serviceEntityBreadcrumb ($iContentId=0)
 serviceDeleteEntitiesByAuthor ($iProfileId)
 isAllowedApprove ($mixedContent, $isPerformAction=false)
 checkAllowedApprove ($mixedContent, $isPerformAction=false)
 isPollPerformed ($iObjectId, $iAuthorId=0, $iAuthorIp=0)
 deleteAttachLinks ($iId)
 deleteAttachLinksUnused ($iProfileId)
 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 ()
 actionGetAttachLinkForm ()
 actionSubmitAttachLinkForm ()
 actionAddAttachLink ()
 actionDeleteAttachLink ()
 actionGetCreatePostForm ()
 actionGetNotes ()
 actionNested ()
 subactionDelete ()
 actionAjaxGetProfiles ()
 serviceGetProfiles ($sParams)
 actionGetBrowsingFilters ()
 actionApplyBrowsingFilters ()
 serviceIsActive ($iContentId)
 serviceIsAllowedAddContentToContext ($iContextPid)
 serviceIsBadgesAvaliable ()
 serviceModuleIcon ()
 serviceGetAuthor ($iContentId)
 serviceGetPrivacyView ($iContentId)
 serviceGetDateAdded ($iContentId)
 serviceGetDateChanged ($iContentId)
 serviceGetLinkAdd ()
 serviceGetLinkEdit ($iContentId)
 serviceGetLink ($iContentId)
 serviceGetTitle ($iContentId)
 serviceGetText ($iContentId)
 serviceGetLocation ($iContentId)
 serviceGetEmbed ($iContentId)
 serviceGetInfo ($iContentId, $bSearchableFieldsOnly=true)
 serviceGetInfoApi ($iContentId, $bExtendedUnits=false)
 serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='')
 serviceGetView ($iContentId)
 serviceGetAll ($aParams=array())
 serviceGetAllByAuthor ($iProfileId)
 serviceGetSortableFieldsExtended ($aInputsAdd=array())
 serviceGetSearchableFieldsExtended ($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())
 getFormsHelper ()
 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')
 serviceEditEntity ($iContentId, $aValues)
 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)
 serviceGetReputationData ()
 serviceGetTimelineData ()
 serviceGetTimelinePostAllowedView ($aEvent)
 serviceCheckAllowed ($sAction, $isPerformAction=false)
 serviceCheckAllowedWithContent ($sAction, $iContentId, $isPerformAction=false)
 serviceCheckAllowedWithContentForProfile ($sAction, $iContentId, $iProfileId, $isPerformAction=false)
 serviceGetContentOwnerProfileId ($iContentId)
 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)
 addAttachLink ($aValues, $sDisplay=false)
 getFormAttachLink ($iContentId=0)
 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)
 serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='')
 serviceGetAll ($aParams=array())
 serviceGetSearchableFieldsExtended ($aInputsAdd=array())
 serviceGetSearchResultExtended ($aParams, $iStart=0, $iPerPage=0, $bFilterMode=false)

Protected Member Functions

 _getImagesForTimelinePost ($aEvent, $aContentInfo, $sUrl, $aBrowseParams=[])
Protected Member Functions inherited from BxBaseModTextModule
 _alertParams ($aContentInfo)
 _alertParamsAdd ($aContentInfo)
 _alertParamsEdit ($aContentInfo)
 _getAlertParamTimelineGroup ($aContentInfo)
 _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())
 _addLink (&$oForm)
 _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())

Protected Attributes

 $_oEngine
Protected Attributes inherited from BxBaseModGeneralModule
 $_bIsApi
 $_iProfileId
 $_aSearchableNamesExcept
 $_aFormParams
 $_aBrowsingFiltersKeys

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

Detailed Description

Stream module

Constructor & Destructor Documentation

◆ __construct()

BxStrmModule::__construct ( & $aModule)

Reimplemented from BxBaseModTextModule.

Member Function Documentation

◆ _getImagesForTimelinePost()

BxStrmModule::_getImagesForTimelinePost ( $aEvent,
$aContentInfo,
$sUrl,
$aBrowseParams = [] )
protected

Reimplemented from BxBaseModTextModule.

◆ actionEmbed()

BxStrmModule::actionEmbed ( $iContentId,
$sUnitTemplate = '',
$sAddCode = '' )

Reimplemented from BxBaseModGeneralModule.

◆ checkAllowedSetThumb()

BxStrmModule::checkAllowedSetThumb ( $iContentId = 0)
Returns
CHECK_ACTION_RESULT_ALLOWED if access is granted or error message if access is forbidden. So make sure to make strict(===) checking.

Reimplemented from BxBaseModTextModule.

◆ onStreamStarted()

BxStrmModule::onStreamStarted ( $iContentId,
$aContentInfo = array() )

Hooks:

'bx_stream', 'publish_succeeded' - hook on stream published succeeded

◆ serviceCheckAllowedCommentsPost()

BxStrmModule::serviceCheckAllowedCommentsPost ( $iContentId,
$sObjectComments )

Reimplemented from BxBaseModGeneralModule.

◆ serviceCheckAllowedCommentsView()

BxStrmModule::serviceCheckAllowedCommentsView ( $iContentId,
$sObjectComments )

Reimplemented from BxBaseModGeneralModule.

◆ serviceGetBadges()

BxStrmModule::serviceGetBadges ( $iContentId,
$bIsSingle = false,
$bIsCompact = false )

Reimplemented from BxBaseModGeneralModule.

◆ serviceGetTimelinePost()

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

Entry post for Timeline module

Reimplemented from BxBaseModGeneralModule.


The documentation for this class was generated from the following file:
  • modules/boonex/stream/classes/BxStrmModule.php