diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-25 02:38:53 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-25 02:38:53 +0000 |
commit | f6ebb436e46b181152cc32d6fbb2169350c6ea18 (patch) | |
tree | 5d37d33d1790906db83a740ee947c6d08e7d320c /core/controllers | |
parent | 481352c382d769d9074223ae9c7b6d969f0f6e58 (diff) |
Rest_Controller -> REST_Controller everywhere, for consistency.
Diffstat (limited to 'core/controllers')
-rw-r--r-- | core/controllers/albums.php | 10 | ||||
-rw-r--r-- | core/controllers/items.php | 6 | ||||
-rw-r--r-- | core/controllers/photos.php | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/core/controllers/albums.php b/core/controllers/albums.php index 08b61058..10887592 100644 --- a/core/controllers/albums.php +++ b/core/controllers/albums.php @@ -20,7 +20,7 @@ class Albums_Controller extends Items_Controller { /** - * @see Rest_Controller::_show($resource) + * @see REST_Controller::_show($resource) */ public function _show($album) { access::required("view", $album); @@ -50,7 +50,7 @@ class Albums_Controller extends Items_Controller { } /** - * @see Rest_Controller::_create($resource) + * @see REST_Controller::_create($resource) */ public function _create($album) { access::required("edit", $album); @@ -114,7 +114,7 @@ class Albums_Controller extends Items_Controller { } /** - * @see Rest_Controller::_update($resource) + * @see REST_Controller::_update($resource) */ public function _update($album) { access::required("edit", $album); @@ -141,7 +141,7 @@ class Albums_Controller extends Items_Controller { } /** - * @see Rest_Controller::_form_add($parameters) + * @see REST_Controller::_form_add($parameters) */ public function _form_add($album_id) { $album = ORM::factory("item", $album_id); @@ -162,7 +162,7 @@ class Albums_Controller extends Items_Controller { } /** - * @see Rest_Controller::_form_add($parameters) + * @see REST_Controller::_form_add($parameters) */ public function _form_edit($album) { access::required("edit", $album); diff --git a/core/controllers/items.php b/core/controllers/items.php index 1cb24324..ab63889e 100644 --- a/core/controllers/items.php +++ b/core/controllers/items.php @@ -21,21 +21,21 @@ class Items_Controller extends REST_Controller { protected $resource_type = "item"; /** - * @see Rest_Controller::_index() + * @see REST_Controller::_index() */ public function _index() { throw new Exception("@todo Item_Controller::_index NOT IMPLEMENTED"); } /** - * @see Rest_Controller::_form_add($parameters) + * @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) + * @see REST_Controller::_form_edit($resource) */ public function _form_edit($item) { throw new Exception("@todo Items_Controller::_form_edit NOT IMPLEMENTED"); diff --git a/core/controllers/photos.php b/core/controllers/photos.php index 4690bf58..a8282f36 100644 --- a/core/controllers/photos.php +++ b/core/controllers/photos.php @@ -20,7 +20,7 @@ class Photos_Controller extends Items_Controller { /** - * @see Rest_Controller::_show($resource) + * @see REST_Controller::_show($resource) */ public function _show($photo) { access::required("view", $photo); @@ -40,7 +40,7 @@ class Photos_Controller extends Items_Controller { } /** - * @see Rest_Controller::_update($resource) + * @see REST_Controller::_update($resource) */ public function _update($photo) { access::required("edit", $photo); @@ -68,7 +68,7 @@ class Photos_Controller extends Items_Controller { } /** - * @see Rest_Controller::_form_edit($resource) + * @see REST_Controller::_form_edit($resource) */ public function _form_edit($photo) { access::required("edit", $photo); |