mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-10 20:39:09 -04:00
Rest_Controller -> REST_Controller everywhere, for consistency.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user