+ zin: add the mailto widget.

This commit is contained in:
liugang
2023-11-30 14:19:18 +08:00
parent cc8a5eb282
commit 08ef200668
2 changed files with 29 additions and 0 deletions
+8
View File
@@ -1831,3 +1831,11 @@ function users(): users
{
return createWg('users', func_get_args());
}
/**
* Mailto widget.
*/
function mailto(): mailto
{
return createWg('mailto', func_get_args());
}
+21
View File
@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
/**
* The mailto 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 mailto extends users
{
protected static array $defaultProps = array(
'name' => 'mailto[]'
);
}