user_object.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. // This file is part of the Sloodle project (www.sloodle.org)
  3. /**
  4. * Defines a structure to store information about a user-centric object
  5. *
  6. * @package sloodle
  7. * @copyright Copyright (c) 2008 Sloodle (various contributors)
  8. * @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
  9. *
  10. * @contributor Peter R. Bloomfield
  11. */
  12. /**
  13. * A user-centric object, relating to the Sloodle user objects DB table.
  14. * @package sloodle
  15. */
  16. class SloodleUserObject
  17. {
  18. /**
  19. * The database record ID of this object's entry.
  20. * @var int
  21. * @access public
  22. */
  23. var $id = 0;
  24. /**
  25. * The UUID of the object's user
  26. * @var string
  27. * @access public
  28. */
  29. var $avuuid = '';
  30. /**
  31. * The UUID of this object.
  32. * @var string
  33. * @access public
  34. */
  35. var $objuuid = '';
  36. /**
  37. * The name of this object.
  38. * @var string
  39. * @access public
  40. */
  41. var $objname = '';
  42. /**
  43. * The password of this object.
  44. * @var string
  45. * @access public
  46. */
  47. var $password = '';
  48. /**
  49. * Indicates whether or not this object is currently authorized.
  50. * @var bool
  51. * @access public
  52. */
  53. var $authorized = false;
  54. /**
  55. * Timestamp for when this object was last used.
  56. * @var int
  57. * @access public
  58. */
  59. var $timeupdated = null;
  60. }
  61. ?>