\Reply_Model

微语回复管理

Summary

Methods
Properties
Constants
__construct()
addReply()
getReplys()
getReplyNum()
delReply()
hideReply()
pubReply()
isReplyExist()
setReplyCookie()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$db
N/A

Properties

$db

$db : 

Type

Methods

__construct()

__construct() 

addReply()

addReply(  $rData) : integer

回复

Parameters

$rData

Returns

integer

getReplys()

getReplys(integer  $tid, string  $hide = null) : array

获取回复

Parameters

integer $tid
string $hide

Returns

array

getReplyNum()

getReplyNum(integer  $tid = null, string  $hide = null) : integer

查询回复的数目

Parameters

integer $tid
string $hide

Returns

integer —

$replyNum

delReply()

delReply(integer  $replyId) : \受影响的twitter

删除回复

Parameters

integer $replyId

Returns

\受影响的twitter —

id

hideReply()

hideReply(integer  $replyId) 

隐藏回复

Parameters

integer $replyId

pubReply()

pubReply(integer  $replyId) 

显示回复

Parameters

integer $replyId

isReplyExist()

isReplyExist(  $tid,   $name,   $content) 

Parameters

$tid
$name
$content

setReplyCookie()

setReplyCookie(  $name) 

Parameters

$name