UNA
BxAlbumsModule Class Reference
Inheritance diagram for BxAlbumsModule:
BxBaseModTextModule BxBaseModGeneralModule iBxDolContentInfoService BxDolModule BxDol

Public Member Functions

 serviceEntityAllActions ($mixedContent=false, $aParams=array())
 
 serviceEntityAddFiles ($iContentId=0)
 
 serviceDeleteFileAssociations ($iFileId)
 
 serviceMediaComments ($iMediaId=0)
 
 serviceMediaAuthor ($iMediaId=0)
 
 serviceMediaAllActions ($mixedContent=false, $aParams=array())
 
 serviceMediaActions ($iContentId=0)
 
 serviceMediaSocialSharing ($iMediaId=0)
 
 serviceMediaView ($iMediaId=0, $mixedContext=false, $aParams=array())
 
 serviceBrowseRecentMedia ($sUnitView=false, $bDisplayEmptyMsg=true, $bAjaxPaginate=true)
 
 serviceBrowseFeaturedMedia ($sUnitView=false, $bDisplayEmptyMsg=false, $bAjaxPaginate=true)
 
 serviceBrowsePopularMedia ($sUnitView=false, $bDisplayEmptyMsg=true, $bAjaxPaginate=true)
 
 serviceBrowseTopMedia ($sUnitView=false, $bDisplayEmptyMsg=true, $bAjaxPaginate=true)
 
 serviceBrowseFavoriteMedia ($iProfileId=0, $aParams=array())
 
- Public Member Functions inherited from BxBaseModTextModule
 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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolModule
static getInstance ($sName)
 
- Protected Member Functions inherited from BxBaseModTextModule
 _alertParams ($aContentInfo)
 
- Protected Member Functions inherited from BxBaseModGeneralModule
 _serviceBrowseQuick ($aProfiles, $iStart=0, $iLimit=4, $aAdditionalParams=array())
 
 _alertParams ($aContentInfo)
 

Detailed Description

Albums module

Member Function Documentation

◆ serviceBrowseFavoriteMedia()

BxAlbumsModule::serviceBrowseFavoriteMedia (   $iProfileId = 0,
  $aParams = array() 
)

◆ serviceBrowseFeaturedMedia()

BxAlbumsModule::serviceBrowseFeaturedMedia (   $sUnitView = false,
  $bDisplayEmptyMsg = false,
  $bAjaxPaginate = true 
)

◆ serviceBrowsePopularMedia()

BxAlbumsModule::serviceBrowsePopularMedia (   $sUnitView = false,
  $bDisplayEmptyMsg = true,
  $bAjaxPaginate = true 
)

◆ serviceBrowseRecentMedia()

BxAlbumsModule::serviceBrowseRecentMedia (   $sUnitView = false,
  $bDisplayEmptyMsg = true,
  $bAjaxPaginate = true 
)

◆ serviceBrowseTopMedia()

BxAlbumsModule::serviceBrowseTopMedia (   $sUnitView = false,
  $bDisplayEmptyMsg = true,
  $bAjaxPaginate = true 
)

◆ serviceDeleteFileAssociations()

BxAlbumsModule::serviceDeleteFileAssociations (   $iFileId)

Delete file and album association, also file views, votes, comments, meta data are also deleted

Parameters
$iFileIdfile ID
Returns
true on success of false on error

◆ serviceEntityAddFiles()

BxAlbumsModule::serviceEntityAddFiles (   $iContentId = 0)

◆ serviceEntityAllActions()

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

Entry actions and social sharing block

◆ serviceMediaActions()

BxAlbumsModule::serviceMediaActions (   $iContentId = 0)

Entry actions block

◆ serviceMediaAllActions()

BxAlbumsModule::serviceMediaAllActions (   $mixedContent = false,
  $aParams = array() 
)

Entry actions and social sharing block

◆ serviceMediaAuthor()

BxAlbumsModule::serviceMediaAuthor (   $iMediaId = 0)

Display media author block.

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

◆ serviceMediaComments()

BxAlbumsModule::serviceMediaComments (   $iMediaId = 0)

◆ serviceMediaSocialSharing()

BxAlbumsModule::serviceMediaSocialSharing (   $iMediaId = 0)

Display media social sharing buttons block.

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

◆ serviceMediaView()

BxAlbumsModule::serviceMediaView (   $iMediaId = 0,
  $mixedContext = false,
  $aParams = array() 
)

Display media preview block.

Parameters
$iMediaIdmedia ID, if it's omitted then it's taken from 'id' GET variable.
$mixedContextcurrent context to navigate to next and previous file, possible values: popular, public, author. If omitted then value from 'context' GTE variable is taken. Default context is 'album' - when nothin is specified.
$aParamsarray of additional params.
Returns
HTML string with block content. On error false or empty string is returned.

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