summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-25 02:38:53 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-25 02:38:53 +0000
commitf6ebb436e46b181152cc32d6fbb2169350c6ea18 (patch)
tree5d37d33d1790906db83a740ee947c6d08e7d320c /modules/user
parent481352c382d769d9074223ae9c7b6d969f0f6e58 (diff)
Rest_Controller -> REST_Controller everywhere, for consistency.
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/controllers/groups.php14
-rw-r--r--modules/user/controllers/users.php14
2 files changed, 14 insertions, 14 deletions
diff --git a/modules/user/controllers/groups.php b/modules/user/controllers/groups.php
index 96084fe2..7c68c405 100644
--- a/modules/user/controllers/groups.php
+++ b/modules/user/controllers/groups.php
@@ -22,14 +22,14 @@ class Groups_Controller extends REST_Controller {
/**
* Display comments based on criteria.
- * @see Rest_Controller::_index()
+ * @see REST_Controller::_index()
*/
public function _index() {
throw new Exception("@todo Group_Controller::_index NOT IMPLEMENTED");
}
/**
- * @see Rest_Controller::_create($resource)
+ * @see REST_Controller::_create($resource)
*/
public function _create($resource) {
$form = group::get_add_form();
@@ -43,14 +43,14 @@ class Groups_Controller extends REST_Controller {
}
/**
- * @see Rest_Controller::_show($resource)
+ * @see REST_Controller::_show($resource)
*/
public function _show($user) {
throw new Exception("@todo Group_Controller::_show NOT IMPLEMENTED");
}
/**
- * @see Rest_Controller::_update($resource)
+ * @see REST_Controller::_update($resource)
*/
public function _update($group) {
$form = group::get_edit_form($group);
@@ -65,7 +65,7 @@ class Groups_Controller extends REST_Controller {
}
/**
- * @see Rest_Controller::_delete($resource)
+ * @see REST_Controller::_delete($resource)
*/
public function _delete($group) {
if (!(user::active()->admin) || $group->special) {
@@ -84,7 +84,7 @@ class Groups_Controller extends REST_Controller {
/**
* Present a form for editing a user
- * @see Rest_Controller::form($resource)
+ * @see REST_Controller::form($resource)
*/
public function _form_edit($group) {
if ($group->guest || group::active()->id != $group->id) {
@@ -98,7 +98,7 @@ class Groups_Controller extends REST_Controller {
/**
* Present a form for adding a user
- * @see Rest_Controller::form($resource)
+ * @see REST_Controller::form($resource)
*/
public function _form_add($parameters) {
throw new Exception("@todo Group_Controller::_form_add NOT IMPLEMENTED");
diff --git a/modules/user/controllers/users.php b/modules/user/controllers/users.php
index f21e9ae0..3c93262f 100644
--- a/modules/user/controllers/users.php
+++ b/modules/user/controllers/users.php
@@ -22,14 +22,14 @@ class Users_Controller extends REST_Controller {
/**
* Display comments based on criteria.
- * @see Rest_Controller::_index()
+ * @see REST_Controller::_index()
*/
public function _index() {
throw new Exception("@todo User_Controller::_index NOT IMPLEMENTED");
}
/**
- * @see Rest_Controller::_create($resource)
+ * @see REST_Controller::_create($resource)
*/
public function _create($resource) {
if (!(user::active()->admin)) {
@@ -50,14 +50,14 @@ class Users_Controller extends REST_Controller {
}
/**
- * @see Rest_Controller::_show($resource)
+ * @see REST_Controller::_show($resource)
*/
public function _show($user) {
throw new Exception("@todo User_Controller::_show NOT IMPLEMENTED");
}
/**
- * @see Rest_Controller::_update($resource)
+ * @see REST_Controller::_update($resource)
*/
public function _update($user) {
if ($user->guest || (!user::active()->admin && $user->id != user::active()->id)) {
@@ -79,7 +79,7 @@ class Users_Controller extends REST_Controller {
}
/**
- * @see Rest_Controller::_delete($resource)
+ * @see REST_Controller::_delete($resource)
*/
public function _delete($user) {
if (!(user::active()->admin) || $user->id == user::active()->id) {
@@ -98,7 +98,7 @@ class Users_Controller extends REST_Controller {
/**
* Present a form for editing a user
- * @see Rest_Controller::form($resource)
+ * @see REST_Controller::form($resource)
*/
public function _form_edit($user) {
if ($user->guest || user::active()->id != $user->id) {
@@ -112,7 +112,7 @@ class Users_Controller extends REST_Controller {
/**
* Present a form for adding a user
- * @see Rest_Controller::form($resource)
+ * @see REST_Controller::form($resource)
*/
public function _form_add($parameters) {
throw new Exception("@todo User_Controller::_form_add NOT IMPLEMENTED");