summaryrefslogtreecommitdiffstats
path: root/db/imapper.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-22 13:20:24 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-22 13:20:24 +0100
commit196177a0ca3fc0103d359eec44f46173be685413 (patch)
treef721b656d64e240050980420202873e94f6e9edc /db/imapper.php
parent7a579b42fa731b65db26bd0c026bc68f2339c451 (diff)
removed mapper parent class and use the new mapper methods from the framework
Diffstat (limited to 'db/imapper.php')
-rw-r--r--db/imapper.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/db/imapper.php b/db/imapper.php
new file mode 100644
index 000000000..056a4b479
--- /dev/null
+++ b/db/imapper.php
@@ -0,0 +1,29 @@
+<?php
+/**
+* ownCloud - News app
+*
+* @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;
+
+interface IMapper {
+ public function find($id, $userId);
+} \ No newline at end of file