modactiveuser.class.php 1011 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /*
  3. * This file is part of MODX Revolution.
  4. *
  5. * Copyright (c) MODX, LLC. All Rights Reserved.
  6. *
  7. * For complete copyright and license information, see the COPYRIGHT and LICENSE
  8. * files found in the top-level directory of this distribution.
  9. */
  10. /**
  11. * Represents activity by a user in the system.
  12. *
  13. * @property int $internalKey The ID of the User referred to
  14. * @property string $username The username of the User referred to
  15. * @property int $lasthit The last time this User accessed
  16. * @property int $id Deprecated
  17. * @property string $action The modAction this User last accessed
  18. * @property string $ip The IP of the User
  19. *
  20. * @see modUser
  21. * @package modx
  22. */
  23. class modActiveUser extends xPDOObject {
  24. /**
  25. * Overrides xPDOObject::__construct to set the _cacheFlag var for this class to false.
  26. *
  27. * @param xPDO $xpdo Reference to the xPDO|modX instance
  28. */
  29. function __construct(& $xpdo) {
  30. parent :: __construct($xpdo);
  31. $this->_cacheFlag= false;
  32. }
  33. }