PHP 클래스 BxWallModule, dolphin.pro

상속: extends BxDolModule
파일 보기 프로젝트 열기: boonex/dolphin.pro 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_aPostElements
$_iOwnerId
$_sBalloonTemplate
$_sCmtPostTemplate
$_sCmtTemplate
$_sCmtViewTemplate
$_sDividerTemplate

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $aModule )

_addHidden() 공개 메소드

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

_echoResultJson() 공개 메소드

public _echoResultJson ( $a, $isAutoWrapForFormFileSubmit = false )

_getAuthorId() 공개 메소드

public _getAuthorId ( )

_getAuthorIp() 공개 메소드

public _getAuthorIp ( )

_getAuthorPassword() 공개 메소드

public _getAuthorPassword ( )

_getLoadMore() 공개 메소드

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

_getLoadMoreOutline() 공개 메소드

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

_getObjectPrivacy() 공개 메소드

public _getObjectPrivacy ( )

_getObjectVoting() 공개 메소드

public _getObjectVoting ( $aEvent )

_getObjectVotingDefault() 공개 메소드

public _getObjectVotingDefault ( $iEventId )

_getPaginate() 공개 메소드

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

_getPostTabs() 공개 메소드

public _getPostTabs ( $sType )

_getPosts() 공개 메소드

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

_getPostsOutline() 공개 메소드

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

_getShareLinkForm() 공개 메소드

public _getShareLinkForm ( $sGetFormArrayMethod = '_getShareLinkFormCommon' )

_getShareLinkFormCommon() 공개 메소드

_getShareLinkFormIndex() 공개 메소드

_getTimeline() 공개 메소드

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

_getWriteForm() 공개 메소드

public _getWriteForm ( $sGetFormArrayMethod = '_getWriteFormCommon' )

_getWriteFormCommon() 공개 메소드

public _getWriteFormCommon ( )

_getWriteFormIndex() 공개 메소드

public _getWriteFormIndex ( )

_isCommentDeleteAllowed() 공개 메소드

public _isCommentDeleteAllowed ( $aEvent, $bPerform = false )

_isCommentPostAllowed() 공개 메소드

public _isCommentPostAllowed ( $bPerform = false )

_isRepostAllowed() 공개 메소드

public _isRepostAllowed ( $aEvent, $bPerform = false )

_isViewAllowed() 공개 메소드

public _isViewAllowed ( )

_processLinkUpload() 공개 메소드

public _processLinkUpload ( )

_processTextUpload() 공개 메소드

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

actionDelete() 공개 메소드

Delete post from the wall. Allow to wall owner only.
public actionDelete ( ) : string
리턴 string with JavaScript code.

actionGetPaginate() 공개 메소드

Get paginate content.
public actionGetPaginate ( ) : string
리턴 string with paginate.

actionGetPost() 공개 메소드

Get post content.
public actionGetPost ( ) : string
리턴 string with post.

actionGetPosts() 공개 메소드

Get posts content.
public actionGetPosts ( ) : string
리턴 string with posts.

actionGetPostsOutline() 공개 메소드

Get posts content (Outline).
public actionGetPostsOutline ( ) : string
리턴 string with posts.

actionGetRepostedBy() 공개 메소드

Get popup with profiles.
public actionGetRepostedBy ( ) : string
리턴 string with popup.

actionGetTimeline() 공개 메소드

Get timeline content.
public actionGetTimeline ( ) : string
리턴 string with paginate.

actionGetUploader() 공개 메소드

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

actionPost() 공개 메소드

ACTION METHODS Post somthing on the wall.
public actionPost ( ) : string
리턴 string with JavaScript code.

actionRepost() 공개 메소드

public actionRepost ( )

actionRss() 공개 메소드

Get RSS for specified owner.
public actionRss ( string $sUsername ) : string
$sUsername string wall owner username
리턴 string with RSS.

getRepostedLanguageKey() 공개 메소드

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

getSettingsForm() 공개 메소드

Admin Settings Methods
public getSettingsForm ( $mixedResult )

onDelete() 공개 메소드

public onDelete ( $aEvent )

onPost() 공개 메소드

public onPost ( $iId )

onRepost() 공개 메소드

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

serviceGetActionsChecklist() 공개 메소드

public serviceGetActionsChecklist ( $sType )

serviceGetMemberMenuItem() 공개 메소드

serviceGetRepostCounter() 공개 메소드

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

serviceGetRepostElementBlock() 공개 메소드

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

serviceGetRepostJsClick() 공개 메소드

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

serviceGetRepostJsScript() 공개 메소드

serviceGetSpyData() 공개 메소드

public serviceGetSpyData ( )

serviceGetSpyPost() 공개 메소드

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

serviceGetSubscriptionParams() 공개 메소드

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

serviceGetUploadersChecklist() 공개 메소드

public serviceGetUploadersChecklist ( $sType )

servicePostBlockIndexTimeline() 공개 메소드

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

servicePostBlockProfileTimeline() 공개 메소드

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

serviceResponse() 공개 메소드

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

serviceUpdateHandlers() 공개 메소드

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

serviceViewBlockAccountTimeline() 공개 메소드

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

serviceViewBlockIndexOutline() 공개 메소드

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

serviceViewBlockIndexTimeline() 공개 메소드

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

serviceViewBlockProfileTimeline() 공개 메소드

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

setSettings() 공개 메소드

public setSettings ( $aData )

프로퍼티 상세

$_aPostElements 공개적으로 프로퍼티

public $_aPostElements

$_iOwnerId 공개적으로 프로퍼티

public $_iOwnerId

$_sBalloonTemplate 공개적으로 프로퍼티

public $_sBalloonTemplate

$_sCmtPostTemplate 공개적으로 프로퍼티

public $_sCmtPostTemplate

$_sCmtTemplate 공개적으로 프로퍼티

public $_sCmtTemplate

$_sCmtViewTemplate 공개적으로 프로퍼티

public $_sCmtViewTemplate

$_sDividerTemplate 공개적으로 프로퍼티

public $_sDividerTemplate