Permalink
Browse files

Wrote the rest of the API classes that I

want to implement for now and renamed
tester directory to debug - it's a bit
more accurate. I might phase it out once
I reach a more tested, stable release.
  • Loading branch information...
1 parent 1535543 commit ed6bab012611d5cf3edd4a599299c51a00741217 @wizonesolutions committed Jul 26, 2010
Showing with 6,632 additions and 21 deletions.
  1. +2 −0 .gitignore
  2. +0 −10 MeetupAPIBase.php
  3. +31 −0 MeetupAPIComments.php
  4. +20 −0 MeetupAPIEvents.php
  5. +20 −0 MeetupAPIGroups.php
  6. +0 −11 MeetupAPIMembers.php
  7. +20 −0 MeetupAPIProfilesv2.php
  8. +20 −0 MeetupAPIRsvps.php
  9. +32 −0 debug/krumo/INSTALL
  10. +504 −0 debug/krumo/LICENSE
  11. +103 −0 debug/krumo/README
  12. +24 −0 debug/krumo/TODO
  13. +1 −0 debug/krumo/VERSION
  14. +1,304 −0 debug/krumo/class.krumo.php
  15. +267 −0 debug/krumo/docs/Krumo/_class.krumo.php.html
  16. +900 −0 debug/krumo/docs/Krumo/krumo.html
  17. +13 −0 debug/krumo/docs/blank.html
  18. +23 −0 debug/krumo/docs/classtrees_Krumo.html
  19. +392 −0 debug/krumo/docs/elementindex.html
  20. +389 −0 debug/krumo/docs/elementindex_Krumo.html
  21. +15 −0 debug/krumo/docs/errors.html
  22. +24 −0 debug/krumo/docs/index.html
  23. +155 −0 debug/krumo/docs/li_Krumo.html
  24. +32 −0 debug/krumo/docs/media/banner.css
  25. BIN debug/krumo/docs/media/images/AbstractClass.png
  26. BIN debug/krumo/docs/media/images/AbstractClass_logo.png
  27. BIN debug/krumo/docs/media/images/AbstractMethod.png
  28. BIN debug/krumo/docs/media/images/AbstractPrivateClass.png
  29. BIN debug/krumo/docs/media/images/AbstractPrivateClass_logo.png
  30. BIN debug/krumo/docs/media/images/AbstractPrivateMethod.png
  31. BIN debug/krumo/docs/media/images/Class.png
  32. BIN debug/krumo/docs/media/images/Class_logo.png
  33. BIN debug/krumo/docs/media/images/Constant.png
  34. BIN debug/krumo/docs/media/images/Constructor.png
  35. BIN debug/krumo/docs/media/images/Destructor.png
  36. BIN debug/krumo/docs/media/images/Function.png
  37. BIN debug/krumo/docs/media/images/Global.png
  38. BIN debug/krumo/docs/media/images/I.png
  39. BIN debug/krumo/docs/media/images/Index.png
  40. BIN debug/krumo/docs/media/images/Interface.PNG
  41. BIN debug/krumo/docs/media/images/Interface_logo.png
  42. BIN debug/krumo/docs/media/images/L.png
  43. BIN debug/krumo/docs/media/images/Lminus.png
  44. BIN debug/krumo/docs/media/images/Lplus.png
  45. BIN debug/krumo/docs/media/images/Method.png
  46. BIN debug/krumo/docs/media/images/Page.png
  47. BIN debug/krumo/docs/media/images/Page_logo.png
  48. BIN debug/krumo/docs/media/images/PrivateClass.png
  49. BIN debug/krumo/docs/media/images/PrivateClass_logo.png
  50. BIN debug/krumo/docs/media/images/PrivateMethod.png
  51. BIN debug/krumo/docs/media/images/PrivateVariable.png
  52. BIN debug/krumo/docs/media/images/StaticMethod.png
  53. BIN debug/krumo/docs/media/images/StaticVariable.png
  54. BIN debug/krumo/docs/media/images/T.png
  55. BIN debug/krumo/docs/media/images/Tminus.png
  56. BIN debug/krumo/docs/media/images/Tplus.png
  57. BIN debug/krumo/docs/media/images/Variable.png
  58. BIN debug/krumo/docs/media/images/blank.png
  59. BIN debug/krumo/docs/media/images/class_folder.png
  60. BIN debug/krumo/docs/media/images/empty.png
  61. BIN debug/krumo/docs/media/images/file.png
  62. BIN debug/krumo/docs/media/images/folder.png
  63. BIN debug/krumo/docs/media/images/function_folder.png
  64. BIN debug/krumo/docs/media/images/minus.gif
  65. BIN debug/krumo/docs/media/images/next_button.png
  66. BIN debug/krumo/docs/media/images/next_button_disabled.png
  67. BIN debug/krumo/docs/media/images/package.png
  68. BIN debug/krumo/docs/media/images/package_folder.png
  69. BIN debug/krumo/docs/media/images/plus.gif
  70. BIN debug/krumo/docs/media/images/previous_button.png
  71. BIN debug/krumo/docs/media/images/previous_button_disabled.png
  72. BIN debug/krumo/docs/media/images/private_class_logo.png
  73. BIN debug/krumo/docs/media/images/tutorial.png
  74. BIN debug/krumo/docs/media/images/tutorial_folder.png
  75. BIN debug/krumo/docs/media/images/up_button.png
  76. +454 −0 debug/krumo/docs/media/lib/classTree.js
  77. +181 −0 debug/krumo/docs/media/stylesheet.css
  78. +40 −0 debug/krumo/docs/packages.html
  79. +49 −0 debug/krumo/docs/ric_INSTALL.html
  80. +522 −0 debug/krumo/docs/ric_LICENSE.html
  81. +121 −0 debug/krumo/docs/ric_README.html
  82. +41 −0 debug/krumo/docs/ric_TODO.html
  83. +18 −0 debug/krumo/docs/ric_VERSION.html
  84. +20 −0 debug/krumo/krumo.ini
  85. +98 −0 debug/krumo/krumo.js
  86. BIN debug/krumo/skins/blue/bg.gif
  87. +158 −0 debug/krumo/skins/blue/skin.css
  88. BIN debug/krumo/skins/default/bg.gif
  89. +158 −0 debug/krumo/skins/default/skin.css
  90. BIN debug/krumo/skins/green/bg.gif
  91. +158 −0 debug/krumo/skins/green/skin.css
  92. BIN debug/krumo/skins/orange/bg.gif
  93. +158 −0 debug/krumo/skins/orange/skin.css
  94. BIN debug/krumo/skins/schablon.com/collapsed.gif
  95. BIN debug/krumo/skins/schablon.com/dotted.gif
  96. BIN debug/krumo/skins/schablon.com/empty.gif
  97. BIN debug/krumo/skins/schablon.com/expanded.gif
  98. +165 −0 debug/krumo/skins/schablon.com/skin.css
View
@@ -0,0 +1,2 @@
+*.swp
+tags
View
@@ -318,13 +318,3 @@ function getSortDesc() {
}
}
-/* // @todo CRIT: REMOVE THIS TESTING CODE.
-require_once(dirname(__FILE__) . '/tester/krumo/class.krumo.php');
-$muApi = new MeetupAPIBase($test_key, 'members');
-$muApi->setQuery( array('group_urlname' => 'gnostic-movement-montreal',) );
-set_time_limit(0);
-$muApi->setPageSize(15);
-$muApi->setNumPages(0);
-$response = $muApi->getResponse();
-krumo($response); */
-
View
@@ -0,0 +1,31 @@
+<?php
+require_once(dirname(__FILE__) . '/MeetupAPIBase.php');
+
+/**
+ * MeetupAPIComments
+ *
+ * @package MeetupAPI
+ * @version $id$
+ * @copyright 2010 WizOne Solutions
+ * @author Kevin Kaland <help [at] wizonesolutions [dot] com>
+ * @license GNU Public License Version 2.0
+ */
+
+class MeetupAPIComments extends MeetupAPIBase {
+ function __construct($apiKey) {
+ $this->method = 'comments';
+ parent::__construct($apiKey, $this->method);
+ }
+}
+
+// @todo CRIT: REMOVE THIS TESTING CODE.
+require_once(dirname(__FILE__) . '/tester/krumo/class.krumo.php');
+//$test_key = '336b4270111f5f4ba65156511d1a3d'; //Work
+$test_key = '5b3545260134293376757d53337a60'; //Personal
+$muApi = new MeetupAPIComments($test_key);
+$muApi->setQuery( array('group_urlname' => 'The-Gnostic-Movement-Los-Angeles',) );
+set_time_limit(0);
+$muApi->setPageSize(200);
+$response = $muApi->getResponse();
+krumo($response);
+
View
@@ -0,0 +1,20 @@
+<?php
+require_once(dirname(__FILE__) . '/MeetupAPIBase.php');
+
+/**
+ * MeetupAPIEvents
+ *
+ * @package MeetupAPI
+ * @version $id$
+ * @copyright 2010 WizOne Solutions
+ * @author Kevin Kaland <help [at] wizonesolutions [dot] com>
+ * @license GNU Public License Version 2.0
+ */
+
+class MeetupAPIEvents extends MeetupAPIBase {
+ function __construct($apiKey) {
+ $this->method = 'events';
+ parent::__construct($apiKey, $this->method);
+ }
+}
+
View
@@ -0,0 +1,20 @@
+<?php
+require_once(dirname(__FILE__) . '/MeetupAPIBase.php');
+
+/**
+ * MeetupAPIGroups
+ *
+ * @package MeetupAPI
+ * @version $id$
+ * @copyright 2010 WizOne Solutions
+ * @author Kevin Kaland <help [at] wizonesolutions [dot] com>
+ * @license GNU Public License Version 2.0
+ */
+
+class MeetupAPIGroups extends MeetupAPIBase {
+ function __construct($apiKey) {
+ $this->method = 'groups';
+ parent::__construct($apiKey, $this->method);
+ }
+}
+
View
@@ -18,14 +18,3 @@ function __construct($apiKey) {
}
}
-// @todo CRIT: REMOVE THIS TESTING CODE.
-require_once(dirname(__FILE__) . '/tester/krumo/class.krumo.php');
-//$test_key = '336b4270111f5f4ba65156511d1a3d'; //Work
-$test_key = '5b3545260134293376757d53337a60'; //Personal
-$muApi = new MeetupAPIMembers($test_key);
-$muApi->setQuery( array('group_urlname' => 'gnostic-movement-montreal',) );
-set_time_limit(0);
-$muApi->setPageSize(200);
-$response = $muApi->getResponse();
-krumo($response);
-
View
@@ -0,0 +1,20 @@
+<?php
+require_once(dirname(__FILE__) . '/MeetupAPIBase.php');
+
+/**
+ * MeetupAPIProfilesv2
+ *
+ * @package MeetupAPI
+ * @version $id$
+ * @copyright 2010 WizOne Solutions
+ * @author Kevin Kaland <help [at] wizonesolutions [dot] com>
+ * @license GNU Public License Version 2.0
+ */
+
+class MeetupAPIProfilesv2 extends MeetupAPIBase {
+ function __construct($apiKey) {
+ $this->method = '2/profiles';
+ parent::__construct($apiKey, $this->method);
+ }
+}
+
View
@@ -0,0 +1,20 @@
+<?php
+require_once(dirname(__FILE__) . '/MeetupAPIBase.php');
+
+/**
+ * MeetupAPIRsvps
+ *
+ * @package MeetupAPI
+ * @version $id$
+ * @copyright 2010 WizOne Solutions
+ * @author Kevin Kaland <help [at] wizonesolutions [dot] com>
+ * @license GNU Public License Version 2.0
+ */
+
+class MeetupAPIRsvps extends MeetupAPIBase {
+ function __construct($apiKey) {
+ $this->method = 'rsvps';
+ parent::__construct($apiKey, $this->method);
+ }
+}
+
View
@@ -0,0 +1,32 @@
+------------------------------------------------------------------------------
+
+ SETUP: How to install Krumo ?
+
+------------------------------------------------------------------------------
+
+In order to use Krumo you have to put it on your (development) server, and
+include it in your script. You can put it somewhere in the INCLUDE_PATH, or
+specify the full path to the "class.krumo.php" file.
+
+You have to modify the "krumo.ini" file too. It is the configuration file for
+Krumo. The first option is choosing a skin:
+
+ [skin]
+ selected = "orange"
+
+The value for this setting has to be the name of one of the sub-folders from the
+"Krumo/skins/" folder. If the value provided for the skin results in not finding
+the skin, the `default` skin will be used instead.
+
+The second option is used to set the correct web path to the folder where Krumo
+is installed. This is used in order to make the images from Krumo's CSS skins
+web-accessible.
+
+ [css]
+ url = "http://www.example.com/Krumo/"
+
+So far those two are the only configuration options.
+
+All the CSS files ("skin.css") from the "Krumo/skins/" sub-folders must have the
+proper permissions in order to be readable from Krumo. Same applies for
+"krumo.ini" and "krumo.js" files.
Oops, something went wrong.

0 comments on commit ed6bab0

Please sign in to comment.