PHP Class UserRemarkModel, thinksns

Author: Foreach ([email protected])
Inheritance: extends Model
Show file Open project: medz/thinksns-4

Public Methods

Method Description
getRemark ( $mid, integer $uid ) : string 获取用户备注名
searchRemark ( integer $mid, string $remark ) : array 通过备注名搜索
setRemark ( integer $uid, string $remark ) : boolean 设置用户备注名

Method Details

getRemark() public method

获取用户备注名
Author: Foreach ([email protected])
public getRemark ( $mid, integer $uid ) : string
$uid integer 被设置用户id
return string

searchRemark() public method

通过备注名搜索
Author: Foreach ([email protected])
public searchRemark ( integer $mid, string $remark ) : array
$mid integer 用户id
$remark string 备注名
return array

setRemark() public method

设置用户备注名
Author: Foreach ([email protected])
public setRemark ( integer $uid, string $remark ) : boolean
$uid integer 被设置用户id
$remark string 备注名
return boolean