v1.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * The formPanel 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 sunhao<sunhao@easycorp.ltd>
  8. * @package zin
  9. * @link http://www.zentao.net
  10. */
  11. namespace zin;
  12. require_once dirname(__DIR__) . DS . 'formpanel' . DS . 'v1.php';
  13. /**
  14. * 网格表单面板(formGrid)部件类。
  15. * The form grid panel widget class.
  16. *
  17. * @author Hao Sun
  18. */
  19. class formGridPanel extends formPanel
  20. {
  21. /**
  22. * Define default properties.
  23. *
  24. * @var array
  25. * @access protected
  26. */
  27. protected static $defaultProps = array
  28. (
  29. 'class' => 'panel-form page-form',
  30. 'size' => '',
  31. 'layout' => 'grid',
  32. 'container' => true,
  33. 'modeSwitcher' => true,
  34. 'foldableItems' => null,
  35. 'formID' => '$AUTO',
  36. 'customBtn' => true,
  37. 'stickyActions' => true
  38. );
  39. public static function getPageCSS()
  40. {
  41. return file_get_contents(__DIR__ . DS . 'css' . DS . 'v1.css');
  42. }
  43. }