extends |
XoopsObject |
---|
Xoops Comments Object Class
Methods | ||
---|---|---|
public
|
__construct($ctable, null|array $id = null)
constructor
|
# |
public
|
load(int $id)
Load Comment by ID
Load Comment by ID |
# |
public
|
store(): int|false
Save Comment
Save Comment |
# |
public
|
delete(): int
Enter description here...
Enter description here... |
# |
public
|
getCommentTree(): mixed
Get Comments Tree
Get Comments Tree |
# |
public
|
getAllComments(
array $criteria = [],
bool $asobject = true,
string $orderby = 'comment_id ASC',
int $limit = 0,
int $start = 0,
): array
Get All Comments using criteria match
Get All Comments using criteria match |
# |
public
|
printNavBar(int $item_id, string $mode = 'flat', int $order = 1)
Enter printNavBar
Enter printNavBar |
# |
public
|
showThreadHead()
Show Thread
Show Thread |
# |
public
|
showThreadPost(string $order, string $mode, int $adminview = 0, int $color_num = 1)
Enter description here...
Enter description here... |
# |
public
|
showThreadFoot()
Show Thread Footer
Show Thread Footer |
# |
public
|
showTreeHead(int|string $width = '100%')
Show Thread Head
Show Thread Head |
# |
public
|
showTreeItem(string $order, string $mode, int $color_num)
Show Tree Items
Show Tree Items |
# |
public
|
showTreeFoot()
Show Thread Foot
Show Thread Foot |
# |
Properties | |||
---|---|---|---|
public
|
|
$ctable
|
# |
public
|
XoopsMySQLDatabase
|
$db
|
# |
public
|
|
$comment_id
|
# |
public
|
|
$item_id
|
# |
public
|
|
$order
|
# |
public
|
|
$mode
|
# |
public
|
|
$subject
|
# |
public
|
|
$comment
|
# |
public
|
|
$ip
|
# |
public
|
|
$pid
|
# |
public
|
|
$date
|
# |
public
|
|
$nohtml
|
# |
public
|
|
$nosmiley
|
# |
public
|
|
$noxcode
|
# |
public
|
|
$user_id
|
# |
public
|
|
$icon
|
# |
public
|
|
$prefix
|
# |
Properties inherited from XoopsObject |
---|
$vars, $cleanVars, $_isNew, $_isDirty, $_errors, $_filters |