diff options
Diffstat (limited to 'core/controllers/items.php')
-rw-r--r-- | core/controllers/items.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/core/controllers/items.php b/core/controllers/items.php index ab63889e..60b2762f 100644 --- a/core/controllers/items.php +++ b/core/controllers/items.php @@ -20,27 +20,6 @@ class Items_Controller extends REST_Controller { protected $resource_type = "item"; - /** - * @see REST_Controller::_index() - */ - public function _index() { - throw new Exception("@todo Item_Controller::_index NOT IMPLEMENTED"); - } - - /** - * @see REST_Controller::_form_add($parameters) - */ - public function _form_add($parameters) { - throw new Exception("@todo Items_Controller::_form_add NOT IMPLEMENTED"); - } - - /** - * @see REST_Controller::_form_edit($resource) - */ - public function _form_edit($item) { - throw new Exception("@todo Items_Controller::_form_edit NOT IMPLEMENTED"); - } - public function _show($item) { // Redirect to the more specific resource type, since it will render // differently. We could also just delegate here, but it feels more appropriate @@ -48,16 +27,4 @@ class Items_Controller extends REST_Controller { access::required("view", $item); return url::redirect("{$item->type}s/$item->id"); } - - public function _delete($item) { - throw new Exception("@todo Item_Controller::_delete NOT IMPLEMENTED"); - } - - public function _create($item) { - throw new Exception("@todo Item_Controller::_create NOT IMPLEMENTED"); - } - - public function _update($item) { - throw new Exception("@todo Item_Controller::_update NOT IMPLEMENTED"); - } } |