v1.php 925 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * The burn widget class file of zin module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  6. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Yanyi Cao<caoyanyi@easycorp.ltd>
  8. * @package zin
  9. * @link http://www.zentao.net
  10. */
  11. namespace zin;
  12. /**
  13. * 仪表盘(burn)部件类。
  14. * The burn widget class.
  15. *
  16. * @author Hao Sun
  17. */
  18. class burn extends wg
  19. {
  20. /**
  21. * Define widget properties.
  22. *
  23. * @var array
  24. * @access protected
  25. */
  26. protected static $defineProps = array(
  27. 'data?: string|array', // 数据源
  28. 'referenceLine?: bool=false' // 参考线
  29. );
  30. /**
  31. * Build widget.
  32. */
  33. protected function build()
  34. {
  35. return zui::burn(inherit($this));
  36. }
  37. }