diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-21 17:00:19 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-21 17:00:19 +0100 |
commit | a65714c9d2180a0b1b3f02e2dba1a5d5a4a29d2e (patch) | |
tree | fd53bfd29b8b1ac8dd68a7c0fa65b4ccd4d644fc /controller | |
parent | 3336e829a07dc9267d3340d986b41974a234ffa7 (diff) |
added empty methods for controllers
Diffstat (limited to 'controller')
-rw-r--r-- | controller/exportcontroller.php | 5 | ||||
-rw-r--r-- | controller/feedcontroller.php | 41 | ||||
-rw-r--r-- | controller/itemcontroller.php | 31 | ||||
-rw-r--r-- | controller/usersettingscontroller.php | 22 |
4 files changed, 90 insertions, 9 deletions
diff --git a/controller/exportcontroller.php b/controller/exportcontroller.php index 6c6d8a71c..d1e6f017d 100644 --- a/controller/exportcontroller.php +++ b/controller/exportcontroller.php @@ -38,4 +38,9 @@ class ExportController extends Controller { } + public function opml(){ + + } + + }
\ No newline at end of file diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php index 85de04665..70f110a4a 100644 --- a/controller/feedcontroller.php +++ b/controller/feedcontroller.php @@ -31,13 +31,50 @@ use \OCA\AppFramework\Http\Request; use \OCA\AppFramework\Db\DoesNotExistException; use \OCA\AppFramework\Db\MultipleObjectsReturnedException; +use \OCA\Bl\FeedBl; + class FeedController extends Controller { + private $feedBl; - public function __construct(API $api, Request $request, $feedMapper){ + public function __construct(API $api, Request $request, FeedBl $feedBl){ parent::__construct($api, $request); - $this->feedMapper = $feedMapper; + $this->feedBl = $feedBl; + } + + + public function feeds(){ + + } + + + public function active(){ + + } + + + public function create(){ + } + + public function delete(){ + + } + + + public function update(){ + + } + + + public function move(){ + + } + + + public function read(){ + + } }
\ No newline at end of file diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php index 81e3dd972..11dd84ecc 100644 --- a/controller/itemcontroller.php +++ b/controller/itemcontroller.php @@ -38,9 +38,38 @@ class ItemController extends Controller { public function __construct(API $api, Request $request, ItemBl $itemBl){ parent::__construct($api, $request); - $this->itemBl = $itemBl + $this->itemBl = $itemBl; } + public function items(){ + + } + + + public function starred(){ + + } + + + public function star(){ + + } + + + public function unstar(){ + + } + + + public function read(){ + + } + + + public function unread(){ + + } + }
\ No newline at end of file diff --git a/controller/usersettingscontroller.php b/controller/usersettingscontroller.php index fd77a394f..f912487a7 100644 --- a/controller/usersettingscontroller.php +++ b/controller/usersettingscontroller.php @@ -29,18 +29,28 @@ use \OCA\AppFramework\Controller\Controller; use \OCA\AppFramework\Core\API; use \OCA\AppFramework\Http\Request; -use \OCA\News\Bl\FeedBl; +class UserSettingsController extends Controller { -class FeedController extends Controller { - private $feedBl; - - public function __construct(API $api, Request $request, FeedBl $feedBl){ + public function __construct(API $api, Request $request){ parent::__construct($api, $request); - $this->feedBl = $feedBl } + public function read(){ + + } + + + public function show(){ + + } + + + public function hide(){ + + } + }
\ No newline at end of file |