workboardresponse.class.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. /* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. /**
  18. * \file htdocs/core/class/WorkboardResponse.class.php
  19. * \brief Class that represents response of load_board functions
  20. */
  21. class WorkboardResponse
  22. {
  23. /**
  24. * Image URL to represent the board item
  25. * @var string
  26. */
  27. public $img;
  28. /**
  29. * Label of the warning
  30. * @var string
  31. */
  32. public $label;
  33. /**
  34. * URL to list to do items
  35. * @var string
  36. */
  37. public $url;
  38. /**
  39. * (optional) If set, to do late items will link to this url
  40. * @var string
  41. */
  42. public $url_late;
  43. /**
  44. * Delay time to mark an item as late. In number of days.
  45. * @var double
  46. */
  47. public $warning_delay;
  48. /**
  49. * Number of items to do
  50. * @var int
  51. */
  52. public $nbtodo = 0;
  53. /**
  54. * Number of to do items which are late
  55. * @var int
  56. */
  57. public $nbtodolate = 0;
  58. }