addCurrentPeople
This commit is contained in:
parent
28d669b24e
commit
f12f21bb1c
@ -261,6 +261,19 @@ class Target {
|
|||||||
return $this->getMj();
|
return $this->getMj();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 增加學習標的目前人數
|
||||||
|
*
|
||||||
|
* 若要減少可直接在參數內帶入負值
|
||||||
|
*
|
||||||
|
* @param int $number 學習標的目前人數調整值
|
||||||
|
* @return int 學習標的目前人數
|
||||||
|
* @since 2.0.0
|
||||||
|
*/
|
||||||
|
public function addCurrentPeople($number){
|
||||||
|
return $this->addMj($number);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 設定學習標的目前人數
|
* 設定學習標的目前人數
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user