* Rename checkTopStage function to isTopStage.
This commit is contained in:
@@ -1322,13 +1322,15 @@ class programplanModel extends model
|
||||
|
||||
/**
|
||||
* 检查是否为顶级。
|
||||
* 由checkTopStage重命名为isTopStage。
|
||||
* Check whether it is the top stage.
|
||||
* rname checkTopStage to isTopStage.
|
||||
*
|
||||
* @param int $planID
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public function checkTopStage(int $planID): bool
|
||||
public function isTopStage(int $planID): bool
|
||||
{
|
||||
$parentID = $this->dao->select('parent')->from(TABLE_EXECUTION)->where('id')->eq($planID)->fetch('parent');
|
||||
$parentType = $this->dao->select('type')->from(TABLE_EXECUTION)->where('id')->eq($parentID)->fetch('type');
|
||||
|
||||
Reference in New Issue
Block a user