UNA
BxBaseModTextModule Class Reference
Inheritance diagram for BxBaseModTextModule:
BxBaseModGeneralModule iBxDolContentInfoService BxDolModule BxDol BxAdsModule BxAlbumsModule BxBaseModFilesModule BxClssModule BxCnvModule BxForumModule BxGlsrModule BxMarketModule BxPollsModule BxPostsModule BxReviewsModule BxShopifyModule BxSnipcartModule BxStrmModule BxTasksModule

Public Member Functions

 serviceCategoriesMultiListContext ($iProfileId=0, $bDisplayEmptyCats=true)
 
 serviceGetBlockPollAnswers ($iPollId, $bForceDisplay=false)
 
 serviceGetBlockPollResults ($iPollId)
 
 serviceMediaExif ($iMediaId=0)
 
 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)
 
 checkAllowedSetThumb ($iContentId=0)
 
- 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 ()
 

Protected Member Functions

 _alertParams ($aContentInfo)
 
- Protected Member Functions inherited from BxBaseModGeneralModule
 _serviceBrowseQuick ($aProfiles, $iStart=0, $iLimit=4, $aAdditionalParams=array())
 
 _alertParams ($aContentInfo)
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolModule
static getInstance ($sName)
 

Detailed Description

Base module class for text based modules

Member Function Documentation

◆ _alertParams()

BxBaseModTextModule::_alertParams (   $aContentInfo)
protected

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

◆ checkAllowedSetThumb()

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

◆ serviceBrowseAuthor()

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

◆ serviceBrowsePopular()

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

◆ serviceBrowsePublic()

BxBaseModTextModule::serviceBrowsePublic (   $sUnitView = false,
  $bEmptyMessage = true,
  $bAjaxPaginate = true 
)

◆ serviceBrowseTop()

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

◆ serviceBrowseUpdated()

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

◆ serviceCategoriesMultiListContext()

BxBaseModTextModule::serviceCategoriesMultiListContext (   $iProfileId = 0,
  $bDisplayEmptyCats = true 
)

◆ serviceDeleteEntitiesByAuthor()

BxBaseModTextModule::serviceDeleteEntitiesByAuthor (   $iProfileId)

Delete all content by profile

Parameters
$iProfileIdprofile id
Returns
number of deleted items

◆ serviceEntityAuthor()

BxBaseModTextModule::serviceEntityAuthor (   $iContentId = 0)

◆ serviceEntityBreadcrumb()

BxBaseModTextModule::serviceEntityBreadcrumb (   $iContentId = 0)

◆ serviceEntityPolls()

BxBaseModTextModule::serviceEntityPolls (   $iContentId = 0)

◆ serviceGetBlockPollAnswers()

BxBaseModTextModule::serviceGetBlockPollAnswers (   $iPollId,
  $bForceDisplay = false 
)

◆ serviceGetBlockPollResults()

BxBaseModTextModule::serviceGetBlockPollResults (   $iPollId)

◆ serviceGetMenuAddonManageToolsProfileStats()

BxBaseModTextModule::serviceGetMenuAddonManageToolsProfileStats (   $iProfileId = 0)

◆ serviceMediaExif()

BxBaseModTextModule::serviceMediaExif (   $iMediaId = 0)

Display media EXIF information.

Parameters
$iMediaIdmedia ID, if it's omitted then it's taken from 'id' GET variable.
Returns
HTML string with EXIF info. On error empty string is returned.

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