* Add case of execution modules.
This commit is contained in:
@@ -748,6 +748,18 @@ class executionTest
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check the privilege.
|
||||
*
|
||||
* @access public
|
||||
* @return string|bool
|
||||
*/
|
||||
public function getLimitedExecutionTest()
|
||||
{
|
||||
$this->objectModel->getProductGroupList();
|
||||
return isset($_SESSION['limitedExecutions']) ? $_SESSION['limitedExecutions'] : true;
|
||||
}
|
||||
|
||||
/**
|
||||
* function getProductGroupList test execution
|
||||
*
|
||||
@@ -812,6 +824,19 @@ class executionTest
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the task data group by execution id list.
|
||||
*
|
||||
* @param array $executionIdList
|
||||
* @access public
|
||||
* @return int
|
||||
*/
|
||||
public function getTaskGroupByExecutionTest($executionIdList = array())
|
||||
{
|
||||
$objects = $this->objectModel->getTaskGroupByExecution($executionIdList);
|
||||
return count($objects);
|
||||
}
|
||||
|
||||
/**
|
||||
* function getDefaultManagers test by execution
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user