ajaxgetdropmenu.html.php 708 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * The ajaxGetDropMenu view file of admin 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 Shujie Tian<tianshujie@easycorp.ltd>
  7. * @package admin
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. /**
  12. * 定义最终的 JSON 数据。
  13. * Define the final json data.
  14. */
  15. $json = array();
  16. $json['data'] = $data;
  17. $json['search'] = false;
  18. /**
  19. * 渲染 JSON 字符串并发送到客户端。
  20. * Render json data to string and send to client.
  21. */
  22. renderJson($json);