summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-17 00:30:18 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-17 00:30:18 +0000
commitc91e90406bbc81f8311a1d2707dd141d150f99a4 (patch)
treeddda2c6bacd4b0e0e30f4c8a62d13b2842b864cc /modules/user
parent0975e702a99dad701f66c606de6597048338f247 (diff)
Add output formats to our REST controllers. Add support for JSON and
XML to the comment controllers as a proof of concept. It's not fully baked; we should examine ways to create helpers to make this process easier.
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/controllers/user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/controllers/user.php b/modules/user/controllers/user.php
index 35498a04..bc7fb6ff 100644
--- a/modules/user/controllers/user.php
+++ b/modules/user/controllers/user.php
@@ -30,9 +30,9 @@ class User_Controller extends REST_Controller {
}
/**
- * @see Rest_Controller::_get($resource)
+ * @see Rest_Controller::_get($resource, $format)
*/
- public function _get($user) {
+ public function _get($user, $format) {
throw new Exception("@todo User_Controller::_get NOT IMPLEMENTED");
}