+ zin: add the whitelist widget.

This commit is contained in:
liugang
2023-11-30 14:19:44 +08:00
parent 08ef200668
commit b759bba023
2 changed files with 29 additions and 0 deletions
+8
View File
@@ -1839,3 +1839,11 @@ function mailto(): mailto
{
return createWg('mailto', func_get_args());
}
/**
* whitelist widget.
*/
function whitelist(): whitelist
{
return createWg('whitelist', func_get_args());
}
+21
View File
@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
/**
* The whitelist widget class file of zin 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 Gang Liu <liugang@easycorp.ltd>
* @package zin
* @link http://www.zentao.net
*/
namespace zin;
requireWg('users');
class whitelist extends users
{
protected static array $defaultProps = array(
'name' => 'whitelist[]'
);
}