h.func.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?php
  2. /**
  3. * The html helper methods file of zin of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2023 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @author Hao Sun <sunhao@easycorp.ltd>
  7. * @package zin
  8. * @version $Id
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. require_once __DIR__ . DS . 'h.class.php';
  13. /**
  14. * @param mixed ...$args
  15. */
  16. function h(...$args) {return h::create(...$args);}
  17. /**
  18. * @param mixed ...$args
  19. */
  20. function div(...$args) {return h::div(...$args);}
  21. /**
  22. * @param mixed ...$args
  23. */
  24. function span(...$args) {return h::span(...$args);}
  25. /**
  26. * @param mixed ...$args
  27. */
  28. function strong(...$args) {return h::strong(...$args);}
  29. /**
  30. * @param mixed ...$args
  31. */
  32. function small(...$args) {return h::small(...$args);}
  33. /**
  34. * @param mixed ...$args
  35. */
  36. function code(...$args) {return h::code(...$args);}
  37. /**
  38. * @param mixed ...$args
  39. */
  40. function canvas(...$args) {return h::canvas(...$args);}
  41. /**
  42. * @param mixed ...$args
  43. */
  44. function br(...$args) {return h::br(...$args);}
  45. /**
  46. * @param mixed ...$args
  47. */
  48. function a(...$args) {return h::a(...$args);}
  49. /**
  50. * @param mixed ...$args
  51. */
  52. function p(...$args) {return h::p(...$args);}
  53. /**
  54. * @param mixed ...$args
  55. */
  56. function img(...$args) {return h::img(...$args);}
  57. /**
  58. * @param mixed ...$args
  59. */
  60. function button(...$args) {return h::button(...$args);}
  61. /**
  62. * @param mixed ...$args
  63. */
  64. function h1(...$args) {return h::h1(...$args);}
  65. /**
  66. * @param mixed ...$args
  67. */
  68. function h2(...$args) {return h::h2(...$args);}
  69. /**
  70. * @param mixed ...$args
  71. */
  72. function h3(...$args) {return h::h3(...$args);}
  73. /**
  74. * @param mixed ...$args
  75. */
  76. function h4(...$args) {return h::h4(...$args);}
  77. /**
  78. * @param mixed ...$args
  79. */
  80. function h5(...$args) {return h::h5(...$args);}
  81. /**
  82. * @param mixed ...$args
  83. */
  84. function h6(...$args) {return h::h6(...$args);}
  85. /**
  86. * @param mixed ...$args
  87. */
  88. function ol(...$args) {return h::ol(...$args);}
  89. /**
  90. * @param mixed ...$args
  91. */
  92. function ul(...$args) {return h::ul(...$args);}
  93. /**
  94. * @param mixed ...$args
  95. */
  96. function li(...$args) {return h::li(...$args);}
  97. /**
  98. * @param mixed ...$args
  99. */
  100. function template(...$args) {return h::template(...$args);}
  101. /**
  102. * @param mixed ...$args
  103. */
  104. function formHidden(...$args) {return h::formHidden(...$args);}
  105. /**
  106. * @param mixed ...$args
  107. */
  108. function fieldset(...$args) {return h::fieldset(...$args);}
  109. /**
  110. * @param mixed ...$args
  111. */
  112. function legend(...$args) {return h::legend(...$args);}
  113. /**
  114. * @param mixed ...$args
  115. */
  116. function iframe(...$args) {return h::iframe(...$args);}
  117. /**
  118. * @param mixed ...$args
  119. */
  120. function css(...$args) {return h::css(...$args);}