platform/plugins/Users/classes/Users/Identify.php - Q Platform
Show:

File: platform/plugins/Users/classes/Users/Identify.php

  1. <?php
  2. /**
  3. * @module Users
  4. */
  5. /**
  6. * Class representing 'Identify' rows in the 'Users' database
  7. * You can create an object of this class either to
  8. * access its non-static methods, or to actually
  9. * represent a identify row in the Users database.
  10. *
  11. * @class Users_Identify
  12. * @extends Base_Users_Identify
  13. */
  14. class Users_Identify extends Base_Users_Identify
  15. {
  16. /**
  17. * The setUp() method is called the first time
  18. * an object of this class is constructed.
  19. * @method setUp
  20. */
  21. function setUp()
  22. {
  23. parent::setUp();
  24. }
  25.  
  26. /**
  27. * Implements the __set_state method, so it can work with
  28. * with var_export and be re-imported successfully.
  29. * @method __set_state
  30. * @param {array} $array
  31. * @return {Users_Identify} Class instance
  32. */
  33. static function __set_state(array $array) {
  34. $result = new Users_Identify();
  35. foreach($array as $k => $v)
  36. $result->$k = $v;
  37. return $result;
  38. }
  39. };