Cheetah
Public Member Functions | Public Attributes | List of all members
ChWallCmts Class Reference
Inheritance diagram for ChWallCmts:
ChTemplCmtsView ChBaseCmtsView ChWsbCmts

Public Member Functions

 __construct ($sSystem, $iId, $iInit=1)
 
 init ($iId)
 
 actionCmtPost ()
 
 getCommentsFirstDefault ($sType)
 
 getCommentsFirstSystem ($sType, $iEventId, $iCommentId=0)
 
 getActionsExt ($iCmtId, $sType='comment', $iEventId=0)
 
- Public Member Functions inherited from ChBaseCmtsView
 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
 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 ()
 
 actionCmtRemove ()
 
 actionCmtEdit ()
 
 actionCmtEditSubmit ()
 
 actionCmtRate ()
 
 _getAuthorId ()
 
 _getAuthorPassword ()
 
 _getAuthorIp ()
 
 _prepareTextForEdit ($s)
 
 _prepareTextForSave ($s)
 
 _prepareTextForOutput ($s)
 
 _triggerComment ()
 
 _isSpam ($s)
 
 _getAnchor ($iId)
 

Public Attributes

 $_oModule
 
- Public Attributes inherited from ChBaseCmtsView
 $_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

Definition at line 10 of file ChWallCmts.php.

Constructor & Destructor Documentation

◆ __construct()

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

Constructor

Reimplemented from ChTemplCmtsView.

Definition at line 17 of file ChWallCmts.php.

Member Function Documentation

◆ actionCmtPost()

ChWallCmts::actionCmtPost ( )

Reimplemented from ChWsbCmts.

Definition at line 31 of file ChWallCmts.php.

◆ getActionsExt()

ChWallCmts::getActionsExt (   $iCmtId,
  $sType = 'comment',
  $iEventId = 0 
)

Definition at line 86 of file ChWallCmts.php.

◆ getCommentsFirstDefault()

ChWallCmts::getCommentsFirstDefault (   $sType)

get full comments block with initializations

Definition at line 52 of file ChWallCmts.php.

◆ getCommentsFirstSystem()

ChWallCmts::getCommentsFirstSystem (   $sType,
  $iEventId,
  $iCommentId = 0 
)

get full comments(system) block with initializations

Definition at line 70 of file ChWallCmts.php.

◆ init()

ChWallCmts::init (   $iId)

Reimplemented from ChWsbCmts.

Definition at line 25 of file ChWallCmts.php.

Member Data Documentation

◆ $_oModule

ChWallCmts::$_oModule

Definition at line 12 of file ChWallCmts.php.


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