UNA
|
Public Member Functions | |
__construct ($aModule) | |
actionGetContexts ($iLimit=20) | |
serviceGetPosts ($aParams) | |
serviceGetSafeServices () | |
serviceGetHotSourcesChecklist () | |
serviceGetForYouSourcesChecklist () | |
serviceGetContentOwnerProfileId ($mixedEvent) | |
serviceGetCreatePostForm ($aParams=array()) | |
serviceGetObjectForm ($sType, $aParams=array()) | |
serviceGetAuthor ($iContentId) | |
serviceGetDateChanged ($iContentId) | |
serviceGetLink ($iContentId) | |
serviceGetThumb ($iContentId, $sTranscoder='') | |
serviceGetInfo ($iContentId, $bSearchableFieldsOnly=true) | |
serviceGetTitle ($iContentId) | |
serviceGetSearchResultUnit ($iContentId, $sUnitTemplate='') | |
serviceGetBlockPost ($iProfileId=0) | |
serviceGetBlockPostProfile ($sProfileModule='bx_persons', $iProfileContentId=0) | |
serviceGetBlockPostHome () | |
serviceGetBlockPostAccount () | |
serviceGetBlockPostCustom ($aParams) | |
serviceGetBlockView ($iProfileId=0) | |
serviceGetBlockViewOutline ($iProfileId=0) | |
serviceGetBlockViewProfile ($sProfileModule='bx_persons', $iProfileContentId=0, $iStart=-1, $iPerPage=-1, $sFilter='', $aModules=array(), $iTimeline=-1) | |
serviceGetBlockViewProfileOutline ($sProfileModule='bx_persons', $iProfileContentId=0, $iStart=-1, $iPerPage=-1, $sFilter='', $aModules=array(), $iTimeline=-1) | |
serviceGetBlockViewHome ($iProfileId=0, $iStart=-1, $iPerPage=-1, $iTimeline=-1, $sFilter='', $aModules=array()) | |
serviceGetBlockViewHomeOutline ($iProfileId=0, $iStart=-1, $iPerPage=-1, $iTimeline=-1, $sFilter='', $aModules=array()) | |
serviceGetBlockViewHot ($iProfileId=0, $iStart=-1, $iPerPage=-1, $iTimeline=-1, $sFilter='', $aModules=array()) | |
serviceGetBlockViewHotOutline ($iProfileId=0, $iStart=-1, $iPerPage=-1, $iTimeline=-1, $sFilter='', $aModules=array()) | |
serviceGetBlockViewAccount ($iProfileId=0, $iStart=-1, $iPerPage=-1, $iTimeline=-1, $sFilter='', $aModules=array()) | |
serviceGetBlockViewAccountOutline ($iProfileId=0, $iStart=-1, $iPerPage=-1, $iTimeline=-1, $sFilter='', $aModules=array()) | |
serviceGetBlockViewCustom ($aParams=[]) | |
serviceGetBlockItem () | |
serviceGetNotificationsData () | |
serviceGetNotificationsRepost ($aEvent) | |
serviceGetNotificationsPost ($aEvent) | |
serviceGetNotificationsComment ($aEvent) | |
serviceGetNotificationsReply ($aEvent) | |
serviceGetNotificationsVote ($aEvent) | |
serviceGetNotificationsReaction ($aEvent) | |
serviceGetNotificationsScoreUp ($aEvent) | |
serviceGetNotificationsScoreDown ($aEvent) | |
serviceGetRepostElementBlock ($iOwnerId, $sType, $sAction, $iObjectId, $aParams=[]) | |
serviceGetRepostElementBlockApi ($iOwnerId, $sType, $sAction, $iObjectId, $aParams=[]) | |
serviceGetRepostCounter ($sType, $sAction, $iObjectId, $aParams=[]) | |
serviceGetRepostJsScript () | |
serviceGetRepostJsClick ($iOwnerId, $sType, $sAction, $iObjectId) | |
serviceGetRepostWithJsClick ($iReposterId, $sType, $sAction, $iObjectId) | |
serviceGetRepostToJsClick ($iReposterId, $sType, $sAction, $iObjectId) | |
serviceRepost ($iAuthorId, $iOwnerId, $sType, $sAction, $iObjectId, $bForce=false) | |
serviceRepostWith ($iAuthorId, $iOwnerId, $sType, $sAction, $iObjectId, $mixedData=false, $bForce=false) | |
serviceRepostById ($iAuthorId, $iOwnerId, $iEventId, $bForce=false) | |
serviceUpdate ($iEventId, $aSet) | |
serviceDelete ($iId) | |
serviceGetMenuItemAddonComment ($sSystem, $iObjectId, $aBrowseParams=array()) | |
serviceGetSettingsCheckerHelper () | |
serviceGetOptionsVideosPreload () | |
serviceGetOptionsVideosAutoplay () | |
serviceGetOptionsAttachmentsLayout () | |
serviceGetLiveUpdate ($aBrowseParams, $iProfileId, $iValue=0, $iInit=0) | |
serviceGetLiveUpdates ($aBrowseParams, $iProfileId, $iCount=0, $iInit=0) | |
serviceGetMenuAddonManageTools () | |
serviceGetMenuAddonProfileStats ($iProfileId=0) | |
serviceDeleteEntity ($iContentId, $sFuncDelete='deleteData') | |
isAllowedPin ($aEvent, $bPerform=false) | |
isAllowedStick ($aEvent, $bPerform=false) | |
checkAllowedCommentsView ($aContentInfo, $isPerformAction=false) | |
checkAllowedCommentsPost ($aContentInfo, $isPerformAction=false) | |
serviceGetUserPosts ($iProfileId=0, $sPage='home', $sTab='hot', $iStart=0, $iPerPage=0) | |
Public Member Functions inherited from BxBaseModNotificationsModule | |
serviceAddHandlers ($sModuleUri) | |
serviceDeleteHandlers ($sModuleUri) | |
serviceDeleteModuleEvents ($sModuleUri) | |
serviceGetActionsChecklist () | |
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 | |
_serviceGetBlockView ($iProfileId=0, $aBrowseParams=array()) | |
_checkMedia ($sType, $iContentId, $aItemIds, $iProfileId=0) | |
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) |
BxTimelineModule::__construct | ( | $aModule | ) |
Constructor
|
protected |
Check attached media for content type (photo, video).
|
protected |
Protected Methods
BxTimelineModule::actionGetContexts | ( | $iLimit = 20 | ) |
ACTION METHODS
BxTimelineModule::actionGetPost | ( | ) |
Note. Disabled for now, because Own posts on Timelines of Following members became visible on posts' author Dashboard Timeline.
$bAfpsLoading = (int)bx_get('afps_loading') === 1; if($bAfpsLoading && $this->_iOwnerId != $aEvent['owner_id']) return echoJson(array('message' => _t('_bx_timeline_txt_msg_posted')));
BxTimelineModule::checkAllowedCommentsPost | ( | $aContentInfo, | |
$isPerformAction = false |
|||
) |
Checks if it's allowed to post a comment by checking the availability to post anything in the context. Note. Don't check the related comments object for post action accessibility because this method is called from there.
BxTimelineModule::checkAllowedCommentsView | ( | $aContentInfo, | |
$isPerformAction = false |
|||
) |
Checks if it's allowed to view a comment by checking the availability to view the content which was commented. Note. Don't check the related comments object for view action accessibility because this method is called from there.
BxTimelineModule::getFormPost | ( | $aParams = [] | ) |
Unset 'text' input because its data was already processed and will be saved via additional values which were passed to BxDolForm::insert method.
BxTimelineModule::getFormPostObject | ( | $aParams | ) |
Note. 'ajax_mode' parameter isn't checked because timeline post form works as Ajax form by default.
BxTimelineModule::isAllowedPin | ( | $aEvent, | |
$bPerform = false |
|||
) |
Pin - "Pin here" - pin the post on Profile Timeline for profile owner. Can be done by profile owner for himself or by admin for profile owner to see.
type | $aEvent | |
type | $bPerform |
BxTimelineModule::isAllowedStick | ( | $aEvent, | |
$bPerform = false |
|||
) |
Stick - "Pin for All" - pin the post on Public Timeline for everybody to see. Is available for Administrators/Moderators only.
type | $aEvent | |
type | $bPerform |
BxTimelineModule::serviceDelete | ( | $iId | ) |
BxTimelineModule::serviceDeleteEntity | ( | $iContentId, | |
$sFuncDelete = 'deleteData' |
|||
) |
Delete content entry
$iContentId | content id |
BxTimelineModule::serviceGetAuthor | ( | $iContentId | ) |
Implements iBxDolContentInfoService.
BxTimelineModule::serviceGetBlockItem | ( | ) |
BxTimelineModule::serviceGetBlockPost | ( | $iProfileId = 0 | ) |
BxTimelineModule::serviceGetBlockPostAccount | ( | ) |
BxTimelineModule::serviceGetBlockPostCustom | ( | $aParams | ) |
BxTimelineModule::serviceGetBlockPostHome | ( | ) |
BxTimelineModule::serviceGetBlockPostProfile | ( | $sProfileModule = 'bx_persons' , |
|
$iProfileContentId = 0 |
|||
) |
BxTimelineModule::serviceGetBlockView | ( | $iProfileId = 0 | ) |
BxTimelineModule::serviceGetBlockViewAccount | ( | $iProfileId = 0 , |
|
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$iTimeline = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() |
|||
) |
BxTimelineModule::serviceGetBlockViewAccountOutline | ( | $iProfileId = 0 , |
|
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$iTimeline = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() |
|||
) |
BxTimelineModule::serviceGetBlockViewCustom | ( | $aParams = [] | ) |
BxTimelineModule::serviceGetBlockViewHome | ( | $iProfileId = 0 , |
|
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$iTimeline = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() |
|||
) |
BxTimelineModule::serviceGetBlockViewHomeOutline | ( | $iProfileId = 0 , |
|
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$iTimeline = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() |
|||
) |
BxTimelineModule::serviceGetBlockViewHot | ( | $iProfileId = 0 , |
|
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$iTimeline = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() |
|||
) |
BxTimelineModule::serviceGetBlockViewHotOutline | ( | $iProfileId = 0 , |
|
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$iTimeline = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() |
|||
) |
BxTimelineModule::serviceGetBlockViewOutline | ( | $iProfileId = 0 | ) |
BxTimelineModule::serviceGetBlockViewProfile | ( | $sProfileModule = 'bx_persons' , |
|
$iProfileContentId = 0 , |
|||
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() , |
|||
$iTimeline = -1 |
|||
) |
BxTimelineModule::serviceGetBlockViewProfileOutline | ( | $sProfileModule = 'bx_persons' , |
|
$iProfileContentId = 0 , |
|||
$iStart = -1 , |
|||
$iPerPage = -1 , |
|||
$sFilter = '' , |
|||
$aModules = array() , |
|||
$iTimeline = -1 |
|||
) |
BxTimelineModule::serviceGetContentOwnerProfileId | ( | $mixedEvent | ) |
BxTimelineModule::serviceGetCreatePostForm | ( | $aParams = array() | ) |
BxTimelineModule::serviceGetDateChanged | ( | $iContentId | ) |
Implements iBxDolContentInfoService.
BxTimelineModule::serviceGetForYouSourcesChecklist | ( | ) |
BxTimelineModule::serviceGetHotSourcesChecklist | ( | ) |
BxTimelineModule::serviceGetInfo | ( | $iContentId, | |
$bSearchableFieldsOnly = true |
|||
) |
Implements iBxDolContentInfoService.
BxTimelineModule::serviceGetLink | ( | $iContentId | ) |
Implements iBxDolContentInfoService.
BxTimelineModule::serviceGetLiveUpdate | ( | $aBrowseParams, | |
$iProfileId, | |||
$iValue = 0 , |
|||
$iInit = 0 |
|||
) |
BxTimelineModule::serviceGetLiveUpdates | ( | $aBrowseParams, | |
$iProfileId, | |||
$iCount = 0 , |
|||
$iInit = 0 |
|||
) |
BxTimelineModule::serviceGetMenuAddonManageTools | ( | ) |
BxTimelineModule::serviceGetMenuAddonProfileStats | ( | $iProfileId = 0 | ) |
BxTimelineModule::serviceGetMenuItemAddonComment | ( | $sSystem, | |
$iObjectId, | |||
$aBrowseParams = array() |
|||
) |
BxTimelineModule::serviceGetNotificationsComment | ( | $aEvent | ) |
BxTimelineModule::serviceGetNotificationsData | ( | ) |
BxTimelineModule::serviceGetNotificationsPost | ( | $aEvent | ) |
BxTimelineModule::serviceGetNotificationsReaction | ( | $aEvent | ) |
Entry post vote for Notifications module
BxTimelineModule::serviceGetNotificationsReply | ( | $aEvent | ) |
BxTimelineModule::serviceGetNotificationsRepost | ( | $aEvent | ) |
BxTimelineModule::serviceGetNotificationsScoreDown | ( | $aEvent | ) |
BxTimelineModule::serviceGetNotificationsScoreUp | ( | $aEvent | ) |
BxTimelineModule::serviceGetNotificationsVote | ( | $aEvent | ) |
BxTimelineModule::serviceGetObjectForm | ( | $sType, | |
$aParams = array() |
|||
) |
BxTimelineModule::serviceGetOptionsAttachmentsLayout | ( | ) |
BxTimelineModule::serviceGetOptionsVideosAutoplay | ( | ) |
BxTimelineModule::serviceGetOptionsVideosPreload | ( | ) |
BxTimelineModule::serviceGetRepostCounter | ( | $sType, | |
$sAction, | |||
$iObjectId, | |||
$aParams = [] |
|||
) |
BxTimelineModule::serviceGetRepostElementBlock | ( | $iOwnerId, | |
$sType, | |||
$sAction, | |||
$iObjectId, | |||
$aParams = [] |
|||
) |
BxTimelineModule::serviceGetRepostElementBlockApi | ( | $iOwnerId, | |
$sType, | |||
$sAction, | |||
$iObjectId, | |||
$aParams = [] |
|||
) |
BxTimelineModule::serviceGetRepostJsClick | ( | $iOwnerId, | |
$sType, | |||
$sAction, | |||
$iObjectId | |||
) |
BxTimelineModule::serviceGetRepostJsScript | ( | ) |
BxTimelineModule::serviceGetRepostToJsClick | ( | $iReposterId, | |
$sType, | |||
$sAction, | |||
$iObjectId | |||
) |
BxTimelineModule::serviceGetRepostWithJsClick | ( | $iReposterId, | |
$sType, | |||
$sAction, | |||
$iObjectId | |||
) |
BxTimelineModule::serviceGetSafeServices | ( | ) |
SERVICE METHODS
BxTimelineModule::serviceGetSearchResultUnit | ( | $iContentId, | |
$sUnitTemplate = '' |
|||
) |
Implements iBxDolContentInfoService.
BxTimelineModule::serviceGetSettingsCheckerHelper | ( | ) |
BxTimelineModule::serviceGetThumb | ( | $iContentId, | |
$sTranscoder = '' |
|||
) |
BxTimelineModule::serviceGetTitle | ( | $iContentId | ) |
Implements iBxDolContentInfoService.
BxTimelineModule::serviceGetUserPosts | ( | $iProfileId = 0 , |
|
$sPage = 'home' , |
|||
$sTab = 'hot' , |
|||
$iStart = 0 , |
|||
$iPerPage = 0 |
|||
) |
Returns records for React Jot using OAuth2
int | $iProfileId | |
string | $sPage | |
string | $sTab | |
int | $iStart | |
int | $iPerPage |
BxTimelineModule::serviceRepost | ( | $iAuthorId, | |
$iOwnerId, | |||
$sType, | |||
$sAction, | |||
$iObjectId, | |||
$bForce = false |
|||
) |
BxTimelineModule::serviceRepostById | ( | $iAuthorId, | |
$iOwnerId, | |||
$iEventId, | |||
$bForce = false |
|||
) |
BxTimelineModule::serviceRepostWith | ( | $iAuthorId, | |
$iOwnerId, | |||
$sType, | |||
$sAction, | |||
$iObjectId, | |||
$mixedData = false , |
|||
$bForce = false |
|||
) |
BxTimelineModule::serviceUpdate | ( | $iEventId, | |
$aSet | |||
) |