summaryrefslogtreecommitdiffstats
path: root/db/iapi.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-02 12:44:17 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-02 12:44:37 +0200
commit0da3c160df7f2af1b7800e70a2eba8c04126f3d4 (patch)
tree5f063e6e25fccaa9103dcaf9778b6c0803b1f53d /db/iapi.php
parent7af27f8c177d69533bc07a59fa6a53f245f7898c (diff)
add serialize method for api
Diffstat (limited to 'db/iapi.php')
-rw-r--r--db/iapi.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/db/iapi.php b/db/iapi.php
new file mode 100644
index 000000000..2fed0c01a
--- /dev/null
+++ b/db/iapi.php
@@ -0,0 +1,33 @@
+<?php
+
+/**
+* ownCloud - News
+*
+* @author Alessandro Cosentino
+* @author Bernhard Posselt
+* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
+* @copyright 2012 Bernhard Posselt nukeawhale@gmail.com
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+* License as published by the Free Software Foundation; either
+* version 3 of the License, or any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
+*
+* You should have received a copy of the GNU Affero General Public
+* License along with this library. If not, see <http://www.gnu.org/licenses/>.
+*
+*/
+
+namespace OCA\News\Db;
+
+use \OCA\AppFramework\Db\Entity;
+
+
+interface IAPI {
+ public function toAPI();
+}