PHP 클래스 TaskModel, thinksns

파일 보기 프로젝트 열기: medz/thinksns-4 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$tableName

공개 메소드들

메소드 설명
_executeTask ( $excutetype, $num, $uid, $type, $userdata )
addTask ( $map, $uid )
completeTask ( $tasktype, $tasklevel = 1, $uid )
getReward ( unknown_type $exp, unknown_type $score, unknown_type $medal, $uid ) 领取奖励
getTaskList ( $tasktype, $uid, $show = '' )
getUserTask ( $type, $uid )

비공개 메소드들

메소드 설명
getAmountHash ( $key ) : array 获取统计数据Hash数据
isComplete ( $tasktype, $uid, $tasklevel )
setAmountHash ( $key, $progressRate ) 设置统计数据Hash数据

메소드 상세

_executeTask() 공개 메소드

public _executeTask ( $excutetype, $num, $uid, $type, $userdata )

addTask() 공개 메소드

public addTask ( $map, $uid )

completeTask() 공개 메소드

public completeTask ( $tasktype, $tasklevel = 1, $uid )

getReward() 공개 메소드

领取奖励
public getReward ( unknown_type $exp, unknown_type $score, unknown_type $medal, $uid )
$exp unknown_type
$score unknown_type
$medal unknown_type

getTaskList() 공개 메소드

public getTaskList ( $tasktype, $uid, $show = '' )

getUserTask() 공개 메소드

public getUserTask ( $type, $uid )

프로퍼티 상세

$tableName 보호되어 있는 프로퍼티

protected $tableName