XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsComments Class Reference
Inheritance diagram for XoopsComments:
XoopsObject AbstractXoopsObject

Public Member Functions

 __construct ($ctable, $id=null)
 
 load ($id)
 
 store ()
 
 delete ()
 
getCommentTree ()
 
 getAllComments ($criteria=[], $asobject=true, $orderby='comment_id ASC', $limit=0, $start=0)
 
 printNavBar ($item_id, $mode='flat', $order=1)
 
 showThreadHead ()
 
 showThreadPost ($order, $mode, $adminview=0, $color_num=1)
 
 showThreadFoot ()
 
 showTreeHead ($width='100%')
 
 showTreeItem ($order, $mode, $color_num)
 
 showTreeFoot ()
 
- Public Member Functions inherited from XoopsObject
 __construct ()
 
 setNew ()
 
 unsetNew ()
 
 isNew ()
 
 setDirty ()
 
 unsetDirty ()
 
 isDirty ()
 
 initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='')
 
 assignVar ($key, $value)
 
 assignVars ($var_arr)
 
 setVar ($key, $value, $not_gpc=false)
 
 setVars ($var_arr, $not_gpc=false)
 
 setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false)
 
getVars ()
 
getVar ($key, $format='s')
 
 getShow ($key)
 
 set ($key, $value)
 
 get ($key)
 
 getProperty ($key)
 
 getProperties ()
 
 cleanVars ()
 
 registerFilter ($filtername)
 
 _loadFilters ()
 
xoopsClone ()
 
 setErrors ($err_str)
 
 getErrors ()
 
 getHtmlErrors ()
 
- Public Member Functions inherited from AbstractXoopsObject
 initVar ($key, $data_type, $default, $required, $size)
 

Data Fields

 $ctable
 
 $db
 
- Data Fields inherited from XoopsObject
 $vars = []
 
 $cleanVars = []
 
 $_isNew = false
 
 $_isDirty = false
 
 $_errors = []
 
 $_filters = []
 

Detailed Description

Definition at line 24 of file xoopscomments.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $ctable,
$id = null )

Definition at line 29 of file xoopscomments.php.

Member Function Documentation

◆ delete()

delete ( )

Definition at line 97 of file xoopscomments.php.

◆ getAllComments()

getAllComments ( $criteria = [],
$asobject = true,
$orderby = 'comment_id ASC',
$limit = 0,
$start = 0 )

Definition at line 136 of file xoopscomments.php.

◆ getCommentTree()

& getCommentTree ( )

Definition at line 125 of file xoopscomments.php.

◆ load()

load ( $id)

Definition at line 58 of file xoopscomments.php.

◆ printNavBar()

printNavBar ( $item_id,
$mode = 'flat',
$order = 1 )

Definition at line 165 of file xoopscomments.php.

◆ showThreadFoot()

showThreadFoot ( )

Definition at line 302 of file xoopscomments.php.

◆ showThreadHead()

showThreadHead ( )

Definition at line 198 of file xoopscomments.php.

◆ showThreadPost()

showThreadPost ( $order,
$mode,
$adminview = 0,
$color_num = 1 )

Definition at line 203 of file xoopscomments.php.

◆ showTreeFoot()

showTreeFoot ( )

Definition at line 337 of file xoopscomments.php.

◆ showTreeHead()

showTreeHead ( $width = '100%')

Definition at line 307 of file xoopscomments.php.

◆ showTreeItem()

showTreeItem ( $order,
$mode,
$color_num )

Definition at line 312 of file xoopscomments.php.

◆ store()

store ( )

Definition at line 65 of file xoopscomments.php.

Field Documentation

◆ $ctable

$ctable

Definition at line 26 of file xoopscomments.php.

◆ $db

$db

Definition at line 27 of file xoopscomments.php.


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