Files
EasySoft-ZenTaoPMS/module/testcase/ui/groupcase.html.php
T

30 lines
945 B
PHP

<?php
declare(strict_types=1);
/**
* The groupcase view file of testcase module of ZenTaoPMS.
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
* @author Yuting Wang <wangyuting@easycorp.ltd>
* @package testcase
* @link https://www.zentao.net
*/
namespace zin;
jsVar('allTestcases', $lang->testcase->allTestcases);
include 'header.html.php';
$cases = initTableData(array_values($cases), $config->testcase->group->dtable->fieldList);
dtable
(
set::id('groupCaseTable'),
set::userMap($users),
set::cols($config->testcase->group->dtable->fieldList),
set::data($cases),
set::plugins(array('cellspan')),
set::onRenderCell(jsRaw('window.onRenderCell')),
set::getCellSpan(jsRaw('window.getCellSpan')),
);
render();