PHP Class BxWallModule, dolphin.pro

Inheritance: extends BxDolModule
Afficher le fichier Open project: boonex/dolphin.pro Class Usage Examples

Méthodes publiques

Свойство Type Description
$_aPostElements
$_iOwnerId
$_sBalloonTemplate
$_sCmtPostTemplate
$_sCmtTemplate
$_sCmtViewTemplate
$_sDividerTemplate

Méthodes publiques

Méthode Description
__construct ( $aModule ) Constructor
_addHidden ( $sPostType = "photos", $sContentType = "upload", $sAction = "post" )
_echoResultJson ( $a, $isAutoWrapForFormFileSubmit = false )
_getAuthorId ( )
_getAuthorIp ( )
_getAuthorPassword ( )
_getLoadMore ( $iStart, $iPerPage, $bEnabled = true, $bVisible = true )
_getLoadMoreOutline ( $iStart, $iPerPage, $bEnabled = true, $bVisible = true )
_getObjectPrivacy ( )
_getObjectVoting ( $aEvent )
_getObjectVotingDefault ( $iEventId )
_getPaginate ( $sFilter, $sTimeline, $aModules )
_getPostTabs ( $sType )
_getPosts ( $sOrder, $iStart, $iPerPage, $sFilter, $sTimeline, $aModules )
_getPostsOutline ( $sOrder, $iStart, $iPerPage, $sFilter, $aModules )
_getShareLinkForm ( $sGetFormArrayMethod = '_getShareLinkFormCommon' )
_getShareLinkFormCommon ( )
_getShareLinkFormIndex ( )
_getTimeline ( $iStart, $iPerPage, $sFilter, $sTimeline, $aModules ) Private Methods Is used for content displaying
_getWriteForm ( $sGetFormArrayMethod = '_getWriteFormCommon' )
_getWriteFormCommon ( )
_getWriteFormIndex ( )
_isCommentDeleteAllowed ( $aEvent, $bPerform = false )
_isCommentPostAllowed ( $bPerform = false )
_isRepostAllowed ( $aEvent, $bPerform = false )
_isViewAllowed ( )
_processLinkUpload ( )
_processTextUpload ( ) Private Methods Is used for actions processing.
actionDelete ( ) : string Delete post from the wall. Allow to wall owner only.
actionGetPaginate ( ) : string Get paginate content.
actionGetPost ( ) : string Get post content.
actionGetPosts ( ) : string Get posts content.
actionGetPostsOutline ( ) : string Get posts content (Outline).
actionGetRepostedBy ( ) : string Get popup with profiles.
actionGetTimeline ( ) : string Get timeline content.
actionGetUploader ( $iOwnerId, $sType, $sSubType = '' ) : string Get photo/sound/video uploading form.
actionPost ( ) : string ACTION METHODS Post somthing on the wall.
actionRepost ( )
actionRss ( string $sUsername ) : string Get RSS for specified owner.
getRepostedLanguageKey ( $sType, $sAction, $mixedObjectId, $bTitle = false )
getSettingsForm ( $mixedResult ) Admin Settings Methods
onDelete ( $aEvent )
onPost ( $iId )
onRepost ( $iId, $aReposted = [] )
serviceGetActionsChecklist ( $sType )
serviceGetMemberMenuItem ( )
serviceGetRepostCounter ( $sType, $sAction, $iObjectId, $aParams = [] )
serviceGetRepostElementBlock ( $iOwnerId, $sType, $sAction, $iObjectId, $aParams = [] )
serviceGetRepostJsClick ( $iOwnerId, $sType, $sAction, $iObjectId )
serviceGetRepostJsScript ( )
serviceGetSpyData ( )
serviceGetSpyPost ( $sAction, $iObjectId, $iSenderId, $aExtraParams = [] )
serviceGetSubscriptionParams ( $sUnit, $sAction, $iObjectId )
serviceGetUploadersChecklist ( $sType )
servicePostBlockIndexTimeline ( $sType = 'id' ) : array Display Post block on home page.
servicePostBlockProfileTimeline ( integer $mixed, $sType = 'id' ) : array Display Post block on profile page.
serviceResponse ( BxDolAlerts $oAlert ) SERVICE METHODS Process alert.
serviceUpdateHandlers ( $sModuleUri = 'all', $bInstall = true )
serviceViewBlockAccountTimeline ( $mixed, $iStart, $iPerPage, $sFilter = '', $sTimeline = '', $sType = 'id', $aModules = [] )
serviceViewBlockIndexOutline ( $iStart, $iPerPage, $sFilter = '', $aModules = [] )
serviceViewBlockIndexTimeline ( $iStart, $iPerPage, $sFilter = '', $sTimeline = '', $sType = 'id', $aModules = [] )
serviceViewBlockProfileTimeline ( $mixed, $iStart, $iPerPage, $sFilter = '', $sTimeline = '', $sType = 'id', $aModules = [] )
setSettings ( $aData )

Method Details

__construct() public méthode

Constructor
public __construct ( $aModule )

_addHidden() public méthode

public _addHidden ( $sPostType = "photos", $sContentType = "upload", $sAction = "post" )

_echoResultJson() public méthode

public _echoResultJson ( $a, $isAutoWrapForFormFileSubmit = false )

_getAuthorId() public méthode

public _getAuthorId ( )

_getAuthorIp() public méthode

public _getAuthorIp ( )

_getAuthorPassword() public méthode

public _getAuthorPassword ( )

_getLoadMore() public méthode

public _getLoadMore ( $iStart, $iPerPage, $bEnabled = true, $bVisible = true )

_getLoadMoreOutline() public méthode

public _getLoadMoreOutline ( $iStart, $iPerPage, $bEnabled = true, $bVisible = true )

_getObjectPrivacy() public méthode

public _getObjectPrivacy ( )

_getObjectVoting() public méthode

public _getObjectVoting ( $aEvent )

_getObjectVotingDefault() public méthode

public _getObjectVotingDefault ( $iEventId )

_getPaginate() public méthode

public _getPaginate ( $sFilter, $sTimeline, $aModules )

_getPostTabs() public méthode

public _getPostTabs ( $sType )

_getPosts() public méthode

public _getPosts ( $sOrder, $iStart, $iPerPage, $sFilter, $sTimeline, $aModules )

_getPostsOutline() public méthode

public _getPostsOutline ( $sOrder, $iStart, $iPerPage, $sFilter, $aModules )

_getShareLinkForm() public méthode

public _getShareLinkForm ( $sGetFormArrayMethod = '_getShareLinkFormCommon' )

_getShareLinkFormCommon() public méthode

_getShareLinkFormIndex() public méthode

_getTimeline() public méthode

Private Methods Is used for content displaying
public _getTimeline ( $iStart, $iPerPage, $sFilter, $sTimeline, $aModules )

_getWriteForm() public méthode

public _getWriteForm ( $sGetFormArrayMethod = '_getWriteFormCommon' )

_getWriteFormCommon() public méthode

public _getWriteFormCommon ( )

_getWriteFormIndex() public méthode

public _getWriteFormIndex ( )

_isCommentDeleteAllowed() public méthode

public _isCommentDeleteAllowed ( $aEvent, $bPerform = false )

_isCommentPostAllowed() public méthode

public _isCommentPostAllowed ( $bPerform = false )

_isRepostAllowed() public méthode

public _isRepostAllowed ( $aEvent, $bPerform = false )

_isViewAllowed() public méthode

public _isViewAllowed ( )

_processLinkUpload() public méthode

public _processLinkUpload ( )

_processTextUpload() public méthode

Private Methods Is used for actions processing.
public _processTextUpload ( )

actionDelete() public méthode

Delete post from the wall. Allow to wall owner only.
public actionDelete ( ) : string
Résultat string with JavaScript code.

actionGetPaginate() public méthode

Get paginate content.
public actionGetPaginate ( ) : string
Résultat string with paginate.

actionGetPost() public méthode

Get post content.
public actionGetPost ( ) : string
Résultat string with post.

actionGetPosts() public méthode

Get posts content.
public actionGetPosts ( ) : string
Résultat string with posts.

actionGetPostsOutline() public méthode

Get posts content (Outline).
public actionGetPostsOutline ( ) : string
Résultat string with posts.

actionGetRepostedBy() public méthode

Get popup with profiles.
public actionGetRepostedBy ( ) : string
Résultat string with popup.

actionGetTimeline() public méthode

Get timeline content.
public actionGetTimeline ( ) : string
Résultat string with paginate.

actionGetUploader() public méthode

Get photo/sound/video uploading form.
public actionGetUploader ( $iOwnerId, $sType, $sSubType = '' ) : string
Résultat string with form.

actionPost() public méthode

ACTION METHODS Post somthing on the wall.
public actionPost ( ) : string
Résultat string with JavaScript code.

actionRepost() public méthode

public actionRepost ( )

actionRss() public méthode

Get RSS for specified owner.
public actionRss ( string $sUsername ) : string
$sUsername string wall owner username
Résultat string with RSS.

getRepostedLanguageKey() public méthode

public getRepostedLanguageKey ( $sType, $sAction, $mixedObjectId, $bTitle = false )

getSettingsForm() public méthode

Admin Settings Methods
public getSettingsForm ( $mixedResult )

onDelete() public méthode

public onDelete ( $aEvent )

onPost() public méthode

public onPost ( $iId )

onRepost() public méthode

public onRepost ( $iId, $aReposted = [] )

serviceGetActionsChecklist() public méthode

public serviceGetActionsChecklist ( $sType )

serviceGetMemberMenuItem() public méthode

serviceGetRepostCounter() public méthode

public serviceGetRepostCounter ( $sType, $sAction, $iObjectId, $aParams = [] )

serviceGetRepostElementBlock() public méthode

public serviceGetRepostElementBlock ( $iOwnerId, $sType, $sAction, $iObjectId, $aParams = [] )

serviceGetRepostJsClick() public méthode

public serviceGetRepostJsClick ( $iOwnerId, $sType, $sAction, $iObjectId )

serviceGetRepostJsScript() public méthode

serviceGetSpyData() public méthode

public serviceGetSpyData ( )

serviceGetSpyPost() public méthode

public serviceGetSpyPost ( $sAction, $iObjectId, $iSenderId, $aExtraParams = [] )

serviceGetSubscriptionParams() public méthode

public serviceGetSubscriptionParams ( $sUnit, $sAction, $iObjectId )

serviceGetUploadersChecklist() public méthode

public serviceGetUploadersChecklist ( $sType )

servicePostBlockIndexTimeline() public méthode

Display Post block on home page.
public servicePostBlockIndexTimeline ( $sType = 'id' ) : array
Résultat array containing block info.

servicePostBlockProfileTimeline() public méthode

Display Post block on profile page.
public servicePostBlockProfileTimeline ( integer $mixed, $sType = 'id' ) : array
$mixed integer - owner ID or Username.
Résultat array containing block info.

serviceResponse() public méthode

SERVICE METHODS Process alert.
public serviceResponse ( BxDolAlerts $oAlert )
$oAlert BxDolAlerts an instance with accured alert.

serviceUpdateHandlers() public méthode

public serviceUpdateHandlers ( $sModuleUri = 'all', $bInstall = true )

serviceViewBlockAccountTimeline() public méthode

public serviceViewBlockAccountTimeline ( $mixed, $iStart, $iPerPage, $sFilter = '', $sTimeline = '', $sType = 'id', $aModules = [] )

serviceViewBlockIndexOutline() public méthode

public serviceViewBlockIndexOutline ( $iStart, $iPerPage, $sFilter = '', $aModules = [] )

serviceViewBlockIndexTimeline() public méthode

public serviceViewBlockIndexTimeline ( $iStart, $iPerPage, $sFilter = '', $sTimeline = '', $sType = 'id', $aModules = [] )

serviceViewBlockProfileTimeline() public méthode

public serviceViewBlockProfileTimeline ( $mixed, $iStart, $iPerPage, $sFilter = '', $sTimeline = '', $sType = 'id', $aModules = [] )

setSettings() public méthode

public setSettings ( $aData )

Property Details

$_aPostElements public_oe property

public $_aPostElements

$_iOwnerId public_oe property

public $_iOwnerId

$_sBalloonTemplate public_oe property

public $_sBalloonTemplate

$_sCmtPostTemplate public_oe property

public $_sCmtPostTemplate

$_sCmtTemplate public_oe property

public $_sCmtTemplate

$_sCmtViewTemplate public_oe property

public $_sCmtViewTemplate

$_sDividerTemplate public_oe property

public $_sDividerTemplate