Cheetah
Public Member Functions | Public Attributes | List of all members
ChWallModule Class Reference
Inheritance diagram for ChWallModule:
ChWsbModule

Public Member Functions

 __construct ($aModule)
 
 getSettingsForm ($mixedResult)
 
 setSettings ($aData)
 
 actionPost ()
 
 actionRepost ()
 
 actionDelete ()
 
 actionGetPost ()
 
 actionGetPosts ()
 
 actionGetPostsOutline ()
 
 actionGetTimeline ()
 
 actionGetPaginate ()
 
 actionGetUploader ($iOwnerId, $sType, $sSubType='')
 
 actionGetRepostedBy ()
 
 actionGetImage ($iId, $sUrl)
 
 actionRss ($sUsername)
 
 serviceResponse ($oAlert)
 
 servicePostBlockIndexTimeline ($sType='id')
 
 serviceViewBlockIndexTimeline ($iStart=-1, $iPerPage=-1, $sFilter='', $sTimeline='', $sType='id', $aModules=array())
 
 servicePostBlockProfileTimeline ($mixed, $sType='id')
 
 _getPostTabs ($sType)
 
 serviceViewBlockProfileTimeline ($mixed, $iStart=-1, $iPerPage=-1, $sFilter='', $sTimeline='', $sType='id', $aModules=array())
 
 serviceViewBlockAccountTimeline ($mixed, $iStart=-1, $iPerPage=-1, $sFilter='', $sTimeline='', $sType='id', $aModules=array())
 
 serviceViewBlockIndexOutline ($iStart=-1, $iPerPage=-1, $sFilter='', $aModules=array())
 
 serviceGetActionsChecklist ($sType)
 
 serviceGetUploadersChecklist ($sType)
 
 serviceUpdateHandlers ($sModuleUri='all', $bInstall=true)
 
 serviceGetMemberMenuItem ()
 
 serviceGetSubscriptionParams ($sUnit, $sAction, $iObjectId)
 
 serviceGetSpyData ()
 
 serviceGetSpyPost ($sAction, $iObjectId=0, $iSenderId=0, $aExtraParams=array())
 
 serviceGetRepostElementBlock ($iOwnerId, $sType, $sAction, $iObjectId, $aParams=array())
 
 serviceGetRepostCounter ($sType, $sAction, $iObjectId, $aParams=array())
 
 serviceGetRepostJsScript ()
 
 serviceGetRepostJsClick ($iOwnerId, $sType, $sAction, $iObjectId)
 
 getRepostedLanguageKey ($sType, $sAction, $mixedObjectId, $bTitle=false)
 
 onPost ($iId)
 
 onDelete ($aEvent)
 
 onRepost ($iId, $aReposted=array())
 
 _processTextUpload ()
 
 _processLinkUpload ()
 
 _getTimeline ($iStart, $iPerPage, $sFilter, $sTimeline, $aModules)
 
 _getLoadMore ($iStart, $iPerPage, $bEnabled=true, $bVisible=true)
 
 _getLoadMoreOutline ($iStart, $iPerPage, $bEnabled=true, $bVisible=true)
 
 _getPaginate ($sFilter, $sTimeline, $aModules)
 
 _getPosts ($sOrder, $iStart, $iPerPage, $sFilter, $sTimeline, $aModules)
 
 _getPostsOutline ($sOrder, $iStart, $iPerPage, $sFilter, $aModules)
 
 _getWriteForm ($sGetFormArrayMethod='_getWriteFormCommon')
 
 _getWriteFormCommon ()
 
 _getWriteFormIndex ()
 
 _getShareLinkForm ($sGetFormArrayMethod='_getShareLinkFormCommon')
 
 _getShareLinkFormCommon ()
 
 _getShareLinkFormIndex ()
 
 _getObjectPrivacy ()
 
 _getObjectVoting ($aEvent)
 
 _getObjectVotingDefault ($iEventId)
 
 _addHidden ($sPostType="photos", $sContentType="upload", $sAction="post")
 
 _isViewAllowed ()
 
 _isCommentPostAllowed ($bPerform=false)
 
 _isCommentDeleteAllowed ($aEvent, $bPerform=false)
 
 _isRepostAllowed ($aEvent, $bPerform=false)
 
 _getAuthorId ()
 
 _getAuthorPassword ()
 
 _getAuthorIp ()
 
 _echoResultJson ($a, $isAutoWrapForFormFileSubmit=false)
 
- Public Member Functions inherited from ChWsbModule
 isLogged ()
 
 getUserId ()
 
 getUserPassword ()
 
 getTitleKey ($sUri)
 
 serviceGetBaseUrl ()
 

Public Attributes

 $_iOwnerId
 
 $_aPostElements
 
 $_sDividerTemplate
 
 $_sBalloonTemplate
 
 $_sCmtPostTemplate
 
 $_sCmtViewTemplate
 
 $_sCmtTemplate
 
- Public Attributes inherited from ChWsbModule
 $_aModule
 
 $_oDb
 
 $_oTemplate
 
 $_oConfig
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbModule
static getInstance ($sClassName)
 
static getTitle ($sUri)
 

Detailed Description

Definition at line 39 of file ChWallModule.php.

Constructor & Destructor Documentation

◆ __construct()

ChWallModule::__construct (   $aModule)

Constructor

Reimplemented from ChWsbModule.

Definition at line 53 of file ChWallModule.php.

Member Function Documentation

◆ _addHidden()

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

Definition at line 1350 of file ChWallModule.php.

◆ _echoResultJson()

ChWallModule::_echoResultJson (   $a,
  $isAutoWrapForFormFileSubmit = false 
)

Definition at line 1442 of file ChWallModule.php.

◆ _getAuthorId()

ChWallModule::_getAuthorId ( )

Definition at line 1430 of file ChWallModule.php.

◆ _getAuthorIp()

ChWallModule::_getAuthorIp ( )

Definition at line 1438 of file ChWallModule.php.

◆ _getAuthorPassword()

ChWallModule::_getAuthorPassword ( )

Definition at line 1434 of file ChWallModule.php.

◆ _getLoadMore()

ChWallModule::_getLoadMore (   $iStart,
  $iPerPage,
  $bEnabled = true,
  $bVisible = true 
)

Definition at line 1106 of file ChWallModule.php.

◆ _getLoadMoreOutline()

ChWallModule::_getLoadMoreOutline (   $iStart,
  $iPerPage,
  $bEnabled = true,
  $bVisible = true 
)

Definition at line 1110 of file ChWallModule.php.

◆ _getObjectPrivacy()

ChWallModule::_getObjectPrivacy ( )

Definition at line 1323 of file ChWallModule.php.

◆ _getObjectVoting()

ChWallModule::_getObjectVoting (   $aEvent)

Definition at line 1327 of file ChWallModule.php.

◆ _getObjectVotingDefault()

ChWallModule::_getObjectVotingDefault (   $iEventId)

Definition at line 1345 of file ChWallModule.php.

◆ _getPaginate()

ChWallModule::_getPaginate (   $sFilter,
  $sTimeline,
  $aModules 
)

Definition at line 1114 of file ChWallModule.php.

◆ _getPosts()

ChWallModule::_getPosts (   $sOrder,
  $iStart,
  $iPerPage,
  $sFilter,
  $sTimeline,
  $aModules 
)

Definition at line 1127 of file ChWallModule.php.

◆ _getPostsOutline()

ChWallModule::_getPostsOutline (   $sOrder,
  $iStart,
  $iPerPage,
  $sFilter,
  $aModules 
)

Definition at line 1190 of file ChWallModule.php.

◆ _getPostTabs()

ChWallModule::_getPostTabs (   $sType)

Definition at line 587 of file ChWallModule.php.

◆ _getShareLinkForm()

ChWallModule::_getShareLinkForm (   $sGetFormArrayMethod = '_getShareLinkFormCommon')

Definition at line 1276 of file ChWallModule.php.

◆ _getShareLinkFormCommon()

ChWallModule::_getShareLinkFormCommon ( )

Definition at line 1285 of file ChWallModule.php.

◆ _getShareLinkFormIndex()

ChWallModule::_getShareLinkFormIndex ( )

Definition at line 1316 of file ChWallModule.php.

◆ _getTimeline()

ChWallModule::_getTimeline (   $iStart,
  $iPerPage,
  $sFilter,
  $sTimeline,
  $aModules 
)

Private Methods Is used for content displaying

Definition at line 1102 of file ChWallModule.php.

◆ _getWriteForm()

ChWallModule::_getWriteForm (   $sGetFormArrayMethod = '_getWriteFormCommon')

Definition at line 1228 of file ChWallModule.php.

◆ _getWriteFormCommon()

ChWallModule::_getWriteFormCommon ( )

Definition at line 1237 of file ChWallModule.php.

◆ _getWriteFormIndex()

ChWallModule::_getWriteFormIndex ( )

Definition at line 1269 of file ChWallModule.php.

◆ _isCommentDeleteAllowed()

ChWallModule::_isCommentDeleteAllowed (   $aEvent,
  $bPerform = false 
)

Definition at line 1395 of file ChWallModule.php.

◆ _isCommentPostAllowed()

ChWallModule::_isCommentPostAllowed (   $bPerform = false)

Definition at line 1380 of file ChWallModule.php.

◆ _isRepostAllowed()

ChWallModule::_isRepostAllowed (   $aEvent,
  $bPerform = false 
)

Definition at line 1411 of file ChWallModule.php.

◆ _isViewAllowed()

ChWallModule::_isViewAllowed ( )

Definition at line 1375 of file ChWallModule.php.

◆ _processLinkUpload()

ChWallModule::_processLinkUpload ( )

Definition at line 1053 of file ChWallModule.php.

◆ _processTextUpload()

ChWallModule::_processTextUpload ( )

Private Methods Is used for actions processing.

Definition at line 1011 of file ChWallModule.php.

◆ actionDelete()

ChWallModule::actionDelete ( )

Delete post from the wall. Allow to wall owner only.

Returns
string with JavaScript code.

Definition at line 202 of file ChWallModule.php.

◆ actionGetImage()

ChWallModule::actionGetImage (   $iId,
  $sUrl 
)

Get image.

Returns
string with image.

Definition at line 360 of file ChWallModule.php.

◆ actionGetPaginate()

ChWallModule::actionGetPaginate ( )

Get paginate content.

Returns
string with paginate.

Definition at line 308 of file ChWallModule.php.

◆ actionGetPost()

ChWallModule::actionGetPost ( )

Get post content.

Returns
string with post.

Definition at line 227 of file ChWallModule.php.

◆ actionGetPosts()

ChWallModule::actionGetPosts ( )

Get posts content.

Returns
string with posts.

Definition at line 243 of file ChWallModule.php.

◆ actionGetPostsOutline()

ChWallModule::actionGetPostsOutline ( )

Get posts content (Outline).

Returns
string with posts.

Definition at line 265 of file ChWallModule.php.

◆ actionGetRepostedBy()

ChWallModule::actionGetRepostedBy ( )

Get popup with profiles.

Returns
string with popup.

Definition at line 345 of file ChWallModule.php.

◆ actionGetTimeline()

ChWallModule::actionGetTimeline ( )

Get timeline content.

Returns
string with paginate.

Definition at line 288 of file ChWallModule.php.

◆ actionGetUploader()

ChWallModule::actionGetUploader (   $iOwnerId,
  $sType,
  $sSubType = '' 
)

Get photo/sound/video uploading form.

Returns
string with form.

Definition at line 330 of file ChWallModule.php.

◆ actionPost()

ChWallModule::actionPost ( )

ACTION METHODS Post somthing on the wall.

Returns
string with JavaScript code.

Definition at line 101 of file ChWallModule.php.

◆ actionRepost()

ChWallModule::actionRepost ( )

Definition at line 140 of file ChWallModule.php.

◆ actionRss()

ChWallModule::actionRss (   $sUsername)

Get RSS for specified owner.

Parameters
string$sUsernamewall owner username
Returns
string with RSS.

Definition at line 424 of file ChWallModule.php.

◆ getRepostedLanguageKey()

ChWallModule::getRepostedLanguageKey (   $sType,
  $sAction,
  $mixedObjectId,
  $bTitle = false 
)

Definition at line 926 of file ChWallModule.php.

◆ getSettingsForm()

ChWallModule::getSettingsForm (   $mixedResult)

Admin Settings Methods

Definition at line 71 of file ChWallModule.php.

◆ onDelete()

ChWallModule::onDelete (   $aEvent)

Definition at line 954 of file ChWallModule.php.

◆ onPost()

ChWallModule::onPost (   $iId)

Definition at line 943 of file ChWallModule.php.

◆ onRepost()

ChWallModule::onRepost (   $iId,
  $aReposted = array() 
)

Definition at line 985 of file ChWallModule.php.

◆ serviceGetActionsChecklist()

ChWallModule::serviceGetActionsChecklist (   $sType)

Definition at line 756 of file ChWallModule.php.

◆ serviceGetMemberMenuItem()

ChWallModule::serviceGetMemberMenuItem ( )

Definition at line 812 of file ChWallModule.php.

◆ serviceGetRepostCounter()

ChWallModule::serviceGetRepostCounter (   $sType,
  $sAction,
  $iObjectId,
  $aParams = array() 
)

Definition at line 909 of file ChWallModule.php.

◆ serviceGetRepostElementBlock()

ChWallModule::serviceGetRepostElementBlock (   $iOwnerId,
  $sType,
  $sAction,
  $iObjectId,
  $aParams = array() 
)

Definition at line 903 of file ChWallModule.php.

◆ serviceGetRepostJsClick()

ChWallModule::serviceGetRepostJsClick (   $iOwnerId,
  $sType,
  $sAction,
  $iObjectId 
)

Definition at line 921 of file ChWallModule.php.

◆ serviceGetRepostJsScript()

ChWallModule::serviceGetRepostJsScript ( )

Definition at line 916 of file ChWallModule.php.

◆ serviceGetSpyData()

ChWallModule::serviceGetSpyData ( )

Definition at line 847 of file ChWallModule.php.

◆ serviceGetSpyPost()

ChWallModule::serviceGetSpyPost (   $sAction,
  $iObjectId = 0,
  $iSenderId = 0,
  $aExtraParams = array() 
)

Definition at line 869 of file ChWallModule.php.

◆ serviceGetSubscriptionParams()

ChWallModule::serviceGetSubscriptionParams (   $sUnit,
  $sAction,
  $iObjectId 
)

Definition at line 832 of file ChWallModule.php.

◆ serviceGetUploadersChecklist()

ChWallModule::serviceGetUploadersChecklist (   $sType)

Definition at line 775 of file ChWallModule.php.

◆ servicePostBlockIndexTimeline()

ChWallModule::servicePostBlockIndexTimeline (   $sType = 'id')

Display Post block on home page.

Parameters
integer$mixed- owner ID or Username.
Returns
array containing block info.

Definition at line 477 of file ChWallModule.php.

◆ servicePostBlockProfileTimeline()

ChWallModule::servicePostBlockProfileTimeline (   $mixed,
  $sType = 'id' 
)

Display Post block on profile page.

Parameters
integer$mixed- owner ID or Username.
Returns
array containing block info.

Definition at line 552 of file ChWallModule.php.

◆ serviceResponse()

ChWallModule::serviceResponse (   $oAlert)

SERVICE METHODS Process alert.

Parameters
ChWsbAlerts$oAlertan instance with accured alert.

Definition at line 465 of file ChWallModule.php.

◆ serviceUpdateHandlers()

ChWallModule::serviceUpdateHandlers (   $sModuleUri = 'all',
  $bInstall = true 
)

Definition at line 795 of file ChWallModule.php.

◆ serviceViewBlockAccountTimeline()

ChWallModule::serviceViewBlockAccountTimeline (   $mixed,
  $iStart = -1,
  $iPerPage = -1,
  $sFilter = '',
  $sTimeline = '',
  $sType = 'id',
  $aModules = array() 
)

Definition at line 685 of file ChWallModule.php.

◆ serviceViewBlockIndexOutline()

ChWallModule::serviceViewBlockIndexOutline (   $iStart = -1,
  $iPerPage = -1,
  $sFilter = '',
  $aModules = array() 
)

Definition at line 726 of file ChWallModule.php.

◆ serviceViewBlockIndexTimeline()

ChWallModule::serviceViewBlockIndexTimeline (   $iStart = -1,
  $iPerPage = -1,
  $sFilter = '',
  $sTimeline = '',
  $sType = 'id',
  $aModules = array() 
)

Definition at line 513 of file ChWallModule.php.

◆ serviceViewBlockProfileTimeline()

ChWallModule::serviceViewBlockProfileTimeline (   $mixed,
  $iStart = -1,
  $iPerPage = -1,
  $sFilter = '',
  $sTimeline = '',
  $sType = 'id',
  $aModules = array() 
)

Definition at line 632 of file ChWallModule.php.

◆ setSettings()

ChWallModule::setSettings (   $aData)

Definition at line 85 of file ChWallModule.php.

Member Data Documentation

◆ $_aPostElements

ChWallModule::$_aPostElements

Definition at line 42 of file ChWallModule.php.

◆ $_iOwnerId

ChWallModule::$_iOwnerId

Definition at line 41 of file ChWallModule.php.

◆ $_sBalloonTemplate

ChWallModule::$_sBalloonTemplate

Definition at line 45 of file ChWallModule.php.

◆ $_sCmtPostTemplate

ChWallModule::$_sCmtPostTemplate

Definition at line 46 of file ChWallModule.php.

◆ $_sCmtTemplate

ChWallModule::$_sCmtTemplate

Definition at line 48 of file ChWallModule.php.

◆ $_sCmtViewTemplate

ChWallModule::$_sCmtViewTemplate

Definition at line 47 of file ChWallModule.php.

◆ $_sDividerTemplate

ChWallModule::$_sDividerTemplate

Definition at line 44 of file ChWallModule.php.


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