PHP Class MedalModel, thinksns

Inheritance: extends CommonModel
Show file Open project: medz/thinksns-4 Class Usage Examples

Public Methods

Method Description
addUserMedal ( unknown_type $users, unknown_type $medalid, $desc ) 为用户添加勋章
getAllMedal ( )
getLastError ( )
getList ( $map, $limit = 20 )
getMedalByUid ( unknown_type $uid ) 返回用户勋章
getUserMedalList ( unknown_type $map, unknown_type $limit = 20 ) : unknown 返回用户勋章列表

Method Details

addUserMedal() public method

为用户添加勋章
public addUserMedal ( unknown_type $users, unknown_type $medalid, $desc )
$users unknown_type
$medalid unknown_type

getAllMedal() public method

public getAllMedal ( )

getLastError() public method

public getLastError ( )

getList() public method

public getList ( $map, $limit = 20 )

getMedalByUid() public method

返回用户勋章
public getMedalByUid ( unknown_type $uid )
$uid unknown_type

getUserMedalList() public method

返回用户勋章列表
public getUserMedalList ( unknown_type $map, unknown_type $limit = 20 ) : unknown
$map unknown_type
$limit unknown_type
return unknown