PHP Class TaskCustomModel, thinksns

Author: Stream
Inheritance: extends Model
Mostra file Open project: medz/thinksns-4

Protected Properties

Property Type Description
$tableName

Public Methods

Method Description
completeTask ( unknown_type $id, unknown_type $uid ) : boolean 领取任务奖励
getList ( unknown_type $map ) : unknown 返回自定义任务列表

Private Methods

Method Description
iscomplete ( unknown_type $key, unknown_type $value ) : boolean 判断是否完成

Method Details

completeTask() public method

领取任务奖励
public completeTask ( unknown_type $id, unknown_type $uid ) : boolean
$id unknown_type
$uid unknown_type
return boolean

getList() public method

返回自定义任务列表
public getList ( unknown_type $map ) : unknown
$map unknown_type
return unknown

Property Details

$tableName protected_oe property

protected $tableName