DummyData.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?php
  2. namespace RS;
  3. use RS\Application\AppPattern;
  4. use RS\Application\Application;
  5. use RS\User;
  6. class DummyData {
  7. public static function dummyBase() {
  8. $devPattern = new AppPattern();
  9. $applications[] = new Application(new User('Joke'), $devPattern, 1439202084, [
  10. 'LalaLand', # Country
  11. '69', # Age
  12. 'Play always', # Addiction
  13. 'Cause banned on all de other crap servers', # Why joining this server?
  14. 'I am betta den all you, i swear!', # Your current rs knowledge?
  15. 'm3m3g3n3r4t0r gud redstoned', # Stuff you built in the past?
  16. 'Betta shiet', # What you gonna build?
  17. 'admin@p', # Links?
  18. 'U all smoke ganja!', # Wanna mention something?
  19. ], false);
  20. $applications[] = new Application(new User('Josh (KingTempest07)'), $devPattern, 1528202084, [
  21. '', # Country
  22. '11', # Age
  23. '1-5 hours per day', # Addiction
  24. 'I love redstone, and I am not the best, at all, but I am trying to learn, so I thought maybe a server with some good redstone engineers could help! Also, I have no online friends, really, just real life, so I have been looking for servers on many different games, like: Terraria, Minecraft, etc.', # Why joining this server?
  25. 'Let\'s just say, I\'m terrible. I watch tons of Mumbo Jumbo, which is both entertaining and helpful, but I am still better at building than redstone. I know how to do things like: minecart systems, pulse extenders, double piston extenders, monostable circuits, some piston doors, do slab/redstone torch elevators, etc., but I can\'t really find was to compact or combine them easily!', # Your current rs knowledge?
  26. 'I have made 2x2 piston doors with pressure plates on both sides, and only used around a 8x3 block area with redstone torch elevators, and I can also make some simple things, like item transport systems with water and ice, hoppers, and I\'m not that good with storage systems, but I\'m getting there!', # Stuff you built in the past?
  27. 'Maybe some mob farms, storage systems, and minigames, but not so soon for minigames, but I might get there!', # What you gonna build?
  28. '', # Links?
  29. '', # Wanna mention something else?
  30. ], true);
  31. $applications[] = new Application(new User('Jack'), $devPattern, 1529202084, [
  32. '', # Country
  33. '', # Age
  34. '', # Addiction
  35. '', # Why joining this server?
  36. '', # Your current rs knowledge?
  37. '', # Stuff you built in the past?
  38. '', # What you gonna build?
  39. '', # Links?
  40. '', # Wanna mention something?
  41. ], false);
  42. $applications[] = new Application(new User('John'), $devPattern, 1539102084, [
  43. '', # Country
  44. '', # Age
  45. '', # Addiction
  46. '', # Why joining this server?
  47. '', # Your current rs knowledge?
  48. '', # Stuff you built in the past?
  49. '', # What you gonna build?
  50. '', # Links?
  51. '', # Wanna mention something?
  52. ], false);
  53. $applications[] = new Application(new User('Jeff'), $devPattern, 1539202084, [
  54. '', # Country
  55. '', # Age
  56. '', # Addiction
  57. '', # Why joining this server?
  58. '', # Your current rs knowledge?
  59. '', # Stuff you built in the past?
  60. '', # What you gonna build?
  61. '', # Links?
  62. '', # Wanna mention something?
  63. ], null);
  64. return $applications;
  65. }
  66. public static function getDummyData() {
  67. $applications = self::dummyBase();
  68. //Add dummy ID's
  69. for($i = 0; $i < sizeof($applications); $i++) {
  70. $app = $applications[$i]->fullCompile();
  71. $app['id'] = $i;
  72. $compiledApps[] = $app;
  73. }
  74. return $compiledApps;
  75. }
  76. public static function getViewDummies() {
  77. $applications = self::dummyBase();
  78. //Add dummy ID's
  79. for($i = 0; $i < sizeof($applications); $i++) {
  80. $app = $applications[$i]->viewCompile();
  81. $app['id'] = $i;
  82. $compiledApps[] = $app;
  83. }
  84. return $compiledApps;
  85. }
  86. }