Cheetah
Public Member Functions | Public Attributes | List of all members
ChBaseCmtsView Class Reference
Inheritance diagram for ChBaseCmtsView:
ChWsbCmts ChTemplCmtsView ChAdsCmts ChBlogsCmts ChEventsCmts ChGroupsCmts ChPollCmts ChSitesCmts ChStoreCmts ChWallCmts ChWsbCmtsProfile ChWsbFilesCmts ChWsbFilesCmtsAlbums ChWsbTextCmts

Public Member Functions

 __construct ( $sSystem, $iId, $iInit=1)
 
 getCommentsFirst ()
 
 getComments ($iCmtsParentId=0, $sCmtOrder='asc', $iStart=0, $iPerPage=-1)
 
 getComment ($iCmtId, $sType='new')
 
 getPaginate ($iStart=-1, $iPerPage=-1)
 
 getForm ($sType, $iParentId)
 
 getActions ($iCmtId, $sType='reply')
 
 getExtraCss ()
 
 getExtraJs ()
 
 getCmtsInit ()
 
 _getCommentHeadBox (&$a)
 
 _getCommentBodyBox (&$a)
 
 _getRateBox (&$a)
 
 _getActionsBox (&$a, $isJustPosted)
 
 _getRepliesBox (&$a)
 
 _getPostReplyBoxTo (&$a)
 
 _getPostReplyBox ($sType='comment', $iCmtParentId=0)
 
 _getFormBox ($sType, $aCmt=array())
 
 _getAuthorIcon ($a)
 
 _getBrowse ()
 
- Public Member Functions inherited from ChWsbCmts
 init ($iId)
 
 checkAction ($iAction, $isPerformAction=false)
 
 checkActionErrorMsg ($iAction)
 
 getId ()
 
 isEnabled ()
 
 getSystemName ()
 
 getOrder ()
 
 setId ($iId)
 
 getBaseUrl ()
 
 isValidSystem ($sSystem)
 
 isTagsAllowed ()
 
 isNl2br ()
 
 isRatable ()
 
 getAllowedEditTime ()
 
 getPerView ()
 
 getSystemId ()
 
 maintenance ()
 
 getCommentsArray ($iCmtParentId, $sCmtOrder, $iStart=0, $iCount=-1)
 
 getCommentRow ($iCmtId)
 
 onObjectDelete ($iObjectId=0)
 
 onAuthorDelete ($iAuthorId)
 
 getCommentsTableName ()
 
 getObjectCommentsCount ($iObjectId=0)
 
 isRateAllowed ($isPerformAction=false)
 
 msgErrRateAllowed ()
 
 isPostReplyAllowed ($isPerformAction=false)
 
 msgErrPostReplyAllowed ()
 
 isEditAllowed ($isPerformAction=false)
 
 msgErrEditAllowed ()
 
 isRemoveAllowed ($isPerformAction=false)
 
 msgErrRemoveAllowed ()
 
 isEditAllowedAll ()
 
 isRemoveAllowedAll ()
 
 actionPaginateGet ()
 
 actionFormGet ()
 
 actionCmtsGet ()
 
 actionCmtGet ()
 
 actionCmtPost ()
 
 actionCmtRemove ()
 
 actionCmtEdit ()
 
 actionCmtEditSubmit ()
 
 actionCmtRate ()
 
 _getAuthorId ()
 
 _getAuthorPassword ()
 
 _getAuthorIp ()
 
 _prepareTextForEdit ($s)
 
 _prepareTextForSave ($s)
 
 _prepareTextForOutput ($s)
 
 _triggerComment ()
 
 _isSpam ($s)
 
 _getAnchor ($iId)
 

Public Attributes

 $_oPaginate
 
 $_sStylePrefix
 
- Public Attributes inherited from ChWsbCmts
 $_iId = 0
 
 $iGlobAllowHtml
 
 $iAutoHideRootPostForm = 0
 
 $bDynamic = false
 
 $_sSystem = 'profile'
 
 $_aSystem = array ()
 
 $_aCmtElements = array ()
 
 $_oQuery = null
 
 $_sOrder = 'desc'
 
 $_aMoodText
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbCmts
static getObjectInstance ($sSys, $iId, $iInit=true)
 
static & getSystems ()
 

Detailed Description

See also
ChWsbCmts

Definition at line 14 of file ChBaseCmtsView.php.

Constructor & Destructor Documentation

◆ __construct()

ChBaseCmtsView::__construct (   $sSystem,
  $iId,
  $iInit = 1 
)

Member Function Documentation

◆ _getActionsBox()

ChBaseCmtsView::_getActionsBox ( $a,
  $isJustPosted 
)

Definition at line 291 of file ChBaseCmtsView.php.

◆ _getAuthorIcon()

ChBaseCmtsView::_getAuthorIcon (   $a)

Definition at line 428 of file ChBaseCmtsView.php.

◆ _getBrowse()

ChBaseCmtsView::_getBrowse ( )

Definition at line 439 of file ChBaseCmtsView.php.

◆ _getCommentBodyBox()

ChBaseCmtsView::_getCommentBodyBox ( $a)

Definition at line 266 of file ChBaseCmtsView.php.

◆ _getCommentHeadBox()

ChBaseCmtsView::_getCommentHeadBox ( $a)

private functions

Definition at line 254 of file ChBaseCmtsView.php.

◆ _getFormBox()

ChBaseCmtsView::_getFormBox (   $sType,
  $aCmt = array() 
)

Definition at line 377 of file ChBaseCmtsView.php.

◆ _getPostReplyBox()

ChBaseCmtsView::_getPostReplyBox (   $sType = 'comment',
  $iCmtParentId = 0 
)

Definition at line 348 of file ChBaseCmtsView.php.

◆ _getPostReplyBoxTo()

ChBaseCmtsView::_getPostReplyBoxTo ( $a)

Definition at line 343 of file ChBaseCmtsView.php.

◆ _getRateBox()

ChBaseCmtsView::_getRateBox ( $a)

Definition at line 277 of file ChBaseCmtsView.php.

◆ _getRepliesBox()

ChBaseCmtsView::_getRepliesBox ( $a)

Definition at line 327 of file ChBaseCmtsView.php.

◆ getActions()

ChBaseCmtsView::getActions (   $iCmtId,
  $sType = 'reply' 
)

Definition at line 173 of file ChBaseCmtsView.php.

◆ getCmtsInit()

ChBaseCmtsView::getCmtsInit ( )

Get initialization section of comments box

Returns
string

Definition at line 224 of file ChBaseCmtsView.php.

◆ getComment()

ChBaseCmtsView::getComment (   $iCmtId,
  $sType = 'new' 
)

get one just posted comment

Parameters
int$iCmtId- comment id
Returns
string

Definition at line 134 of file ChBaseCmtsView.php.

◆ getComments()

ChBaseCmtsView::getComments (   $iCmtsParentId = 0,
  $sCmtOrder = 'asc',
  $iStart = 0,
  $iPerPage = -1 
)

get comments list for specified parent comment

Parameters
int$iCmtsParentId- parent comment to get child comments from

Definition at line 76 of file ChBaseCmtsView.php.

◆ getCommentsFirst()

ChBaseCmtsView::getCommentsFirst ( )

get full comments block with initializations

Definition at line 47 of file ChBaseCmtsView.php.

◆ getExtraCss()

ChBaseCmtsView::getExtraCss ( )

Get comments css file string

Returns
string

Definition at line 200 of file ChBaseCmtsView.php.

◆ getExtraJs()

ChBaseCmtsView::getExtraJs ( )

Get comments js file string

Returns
string

Definition at line 210 of file ChBaseCmtsView.php.

◆ getForm()

ChBaseCmtsView::getForm (   $sType,
  $iParentId 
)

Definition at line 169 of file ChBaseCmtsView.php.

◆ getPaginate()

ChBaseCmtsView::getPaginate (   $iStart = -1,
  $iPerPage = -1 
)

Definition at line 165 of file ChBaseCmtsView.php.

Member Data Documentation

◆ $_oPaginate

ChBaseCmtsView::$_oPaginate

Definition at line 16 of file ChBaseCmtsView.php.

◆ $_sStylePrefix

ChBaseCmtsView::$_sStylePrefix

Definition at line 17 of file ChBaseCmtsView.php.


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