ajaxgetusertasks.html.php 577 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * The ajaxGetUserTasks view file of task module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Yanyi Cao<caoyanyi@easycorp.ltd>
  7. * @package task
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. $filedName = $id ? "tasks[$id]" : 'task';
  12. control
  13. (
  14. set::name($filedName),
  15. set::items($tasks),
  16. set::required(true)
  17. );
  18. render();