Implement note search
[grauphel.git] / lib / search / note.php
diff --git a/lib/search/note.php b/lib/search/note.php
new file mode 100644 (file)
index 0000000..333fa8f
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Part of grauphel
+ *
+ * PHP version 5
+ *
+ * @category  Tools
+ * @package   Grauphel
+ * @author    Christian Weiske <cweiske@cweiske.de>
+ * @copyright 2014 Christian Weiske
+ * @license   http://www.gnu.org/licenses/agpl.html GNU AGPL v3
+ * @link      http://cweiske.de/grauphel.htm
+ */
+namespace OCA\Grauphel\Search;
+
+/**
+ * Note search result
+ *
+ * @category  Tools
+ * @package   Grauphel
+ * @author    Christian Weiske <cweiske@cweiske.de>
+ * @copyright 2014 Christian Weiske
+ * @license   http://www.gnu.org/licenses/agpl.html GNU AGPL v3
+ * @version   Release: @package_version@
+ * @link      http://cweiske.de/grauphel.htm
+ */
+class Note extends \OCP\Search\Result
+{
+       /**
+        * Type name; translated in templates
+        *
+        * @var string
+        */
+       public $type = 'note';
+}
+?>