. * */ namespace OCA\News\Controller; use \OCA\AppFramework\Controller\Controller; use \OCA\AppFramework\Core\API; use \OCA\AppFramework\Http\Request; use \OCA\News\Bl\ItemBl; class ItemController extends Controller { private $itemBl; public function __construct(API $api, Request $request, ItemBl $itemBl){ parent::__construct($api, $request); $this->itemBl = $itemBl; } /** * @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(){ } /** * @IsAdminExemption * @IsSubAdminExemption * @Ajax */ public function readFeed(){ } }