|
| | __construct ($ctable, $id=null) |
| |
| | load ($id) |
| |
| | store () |
| |
| | delete () |
| |
| | getCommentTree () |
| |
| | getAllComments ($criteria=array(), $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 () |
| |
| | __construct () |
| |
| | XoopsObject () |
| |
| | setNew () |
| |
| | unsetNew () |
| |
| | isNew () |
| |
| | setDirty () |
| |
| | unsetDirty () |
| |
| | isDirty () |
| |
| | initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options='', $enumerations='') |
| |
| | assignVar ($key, $value) |
| |
| | assignVars ($var_arr) |
| |
| | setVar ($key, $value, $not_gpc=false) |
| |
| | setVars ($var_arr, $not_gpc=false) |
| |
| | destroyVars ($var) |
| |
| | destoryVars ($var) |
| |
| | setFormVars ($var_arr=null, $pref='xo_', $not_gpc=false) |
| |
| & | getVars () |
| |
| | getValues ($keys=null, $format='s', $maxDepth=1) |
| |
| | getVar ($key, $format=null) |
| |
| | cleanVars () |
| |
| | registerFilter ($filtername) |
| |
| | _loadFilters () |
| |
| | loadFilters ($method) |
| |
| | xoopsClone () |
| |
| | __clone () |
| |
| | setErrors ($err_str) |
| |
| | getErrors () |
| |
| | getHtmlErrors () |
| |
| | toArray () |
| |
◆ __construct()
| __construct |
( |
|
$ctable, |
|
|
|
$id = null |
|
) |
| |
◆ delete()
Enter description here...
- Returns
- int
◆ getAllComments()
| getAllComments |
( |
|
$criteria = array(), |
|
|
|
$asobject = true, |
|
|
|
$orderby = 'comment_id ASC', |
|
|
|
$limit = 0, |
|
|
|
$start = 0 |
|
) |
| |
Get All Comments using criteria match
- Parameters
-
| array | $criteria | |
| bool | $asobject | |
| string | $orderby | |
| int | $limit | |
| int | $start | |
- Returns
- array
◆ getCommentTree()
Get Comments Tree
- Returns
- mixed
◆ load()
Load Comment by ID
- Parameters
-
◆ printNavBar()
| printNavBar |
( |
|
$item_id, |
|
|
|
$mode = 'flat', |
|
|
|
$order = 1 |
|
) |
| |
Enter printNavBar
- Parameters
-
| int | $item_id | |
| string | $mode | |
| int | $order | |
◆ showThreadFoot()
◆ showThreadHead()
◆ showThreadPost()
| showThreadPost |
( |
|
$order, |
|
|
|
$mode, |
|
|
|
$adminview = 0, |
|
|
|
$color_num = 1 |
|
) |
| |
Enter description here...
- Parameters
-
| string | $order | |
| string | $mode | |
| int | $adminview | |
| int | $color_num | |
◆ showTreeFoot()
◆ showTreeHead()
| showTreeHead |
( |
|
$width = '100%' | ) |
|
Show Thread Head
- Parameters
-
◆ showTreeItem()
| showTreeItem |
( |
|
$order, |
|
|
|
$mode, |
|
|
|
$color_num |
|
) |
| |
Show Tree Items
- Parameters
-
| string | $order | |
| string | $mode | |
| int | $color_num | |
◆ store()
Save Comment
- Returns
- int|false
◆ $ctable
◆ $db
The documentation for this class was generated from the following file: