summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-21 17:53:30 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-21 17:53:30 +0100
commite8abe7886d9db3653e463f35cb2db32d8e73b529 (patch)
treecf1b826f3a0a1c005e0b4273e2e0b050b317e627 /controller
parentf4fc7f07e7b0aef3d0577f4881adee7f5c7b4335 (diff)
added all controller methods and tests for the annotations
Diffstat (limited to 'controller')
-rw-r--r--controller/exportcontroller.php5
-rw-r--r--controller/feedcontroller.php30
-rw-r--r--controller/foldercontroller.php36
-rw-r--r--controller/itemcontroller.php30
-rw-r--r--controller/usersettingscontroller.php15
5 files changed, 116 insertions, 0 deletions
diff --git a/controller/exportcontroller.php b/controller/exportcontroller.php
index d1e6f017d..006335486 100644
--- a/controller/exportcontroller.php
+++ b/controller/exportcontroller.php
@@ -38,6 +38,11 @@ class ExportController extends Controller {
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function opml(){
}
diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php
index 1bd5fe635..89a7d7f69 100644
--- a/controller/feedcontroller.php
+++ b/controller/feedcontroller.php
@@ -54,31 +54,61 @@ class FeedController extends Controller {
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function active(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function create(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function delete(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function update(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function move(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function read(){
}
diff --git a/controller/foldercontroller.php b/controller/foldercontroller.php
index 3e631eb63..80451fb3e 100644
--- a/controller/foldercontroller.php
+++ b/controller/foldercontroller.php
@@ -61,8 +61,44 @@ class FolderController extends Controller {
* @IsSubAdminExemption
* @Ajax
*/
+ public function open(){
+ }
+
+
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function collapse(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
+ public function create(){
+ }
+
+
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
+ public function delete(){
+ }
+
+
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
+ public function rename(){
+ }
+
+
} \ No newline at end of file
diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php
index 11dd84ecc..f5f6d2a4b 100644
--- a/controller/itemcontroller.php
+++ b/controller/itemcontroller.php
@@ -42,31 +42,61 @@ class ItemController extends Controller {
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function items(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function starred(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function star(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function unstar(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function read(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function unread(){
}
diff --git a/controller/usersettingscontroller.php b/controller/usersettingscontroller.php
index f912487a7..7bdcda51d 100644
--- a/controller/usersettingscontroller.php
+++ b/controller/usersettingscontroller.php
@@ -38,16 +38,31 @@ class UserSettingsController extends Controller {
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function read(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function show(){
}
+ /**
+ * @IsAdminExemption
+ * @IsSubAdminExemption
+ * @Ajax
+ */
public function hide(){
}