diff options
-rw-r--r-- | bl/feedbl.php | 29 | ||||
-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 |
5 files changed, 119 insertions, 9 deletions
diff --git a/bl/feedbl.php b/bl/feedbl.php index 14182814e..bd89f1c9e 100644 --- a/bl/feedbl.php +++ b/bl/feedbl.php @@ -34,5 +34,34 @@ class FeedBl extends Bl { parent::__construct($feedMapper); } + // README: only call this for the cronjob! + public function findAll(){ + + } + + + public function findAllFromUser(){ + + } + + + public function create(){ + + } + + + public function update(){ + + } + + + public function move(){ + + } + + + public function read(){ + + } } 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 |